Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Updated htmlparser with HTML5 tags #598

Closed
wants to merge 2 commits into from
Closed

Updated htmlparser with HTML5 tags #598

wants to merge 2 commits into from

Conversation

ijonlester
Copy link

Updated lib/htmlparser/htmlparser.js element arrays with HTML5 tags and missing HTML4 tags.

@vojtajina
Copy link
Contributor

Hey Jon, thank you very much. I've got couple of comments:

Can you please do the changes to /src/sanitizer.js instead ? The file in /lib/htmlparser is there just for "credit" reasons - our sanitizer's parser is based on this one.

Please change the commit message to feat(sanitizer): add html5 elements, to follow our convention.

Otherwise it looks good to me. Looks like you covered all html5 tags from http://www.w3.org/TR/html5/spec.html#contents.

@IgorMinar
Copy link
Contributor

I reimplemented this as #613

@IgorMinar IgorMinar closed this Oct 20, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants