Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing rcdata/rawtext implementation #33

Open
espretto opened this issue Jul 29, 2022 · 0 comments
Open

missing rcdata/rawtext implementation #33

espretto opened this issue Jul 29, 2022 · 0 comments

Comments

@espretto
Copy link

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.

export const noNestedTags = createMap<true>('li,option,select,textarea', true);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant