html5parser icon indicating copy to clipboard operation
html5parser copied to clipboard

missing rcdata/rawtext implementation

Open espretto opened this issue 3 years ago • 0 comments

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

espretto avatar Jul 29 '22 16:07 espretto