html5parser
html5parser copied to clipboard
missing rcdata/rawtext implementation
The noNestedTags seems to be used for tree-construction but also subsets the list of tags changing the context of the parser to either RCData or RAWText, both of which seem to be missing in the implementation. This is a limitation since none of these tags can be parsed correctly: title, xmp, iframe, noembed, noframes, noscript, plaintext.
https://github.com/acrazing/html5parser/blob/cc95ffc4b50d99e64a477eb34934113f2d0ca3c4/src/config.ts#L23