html5parser
html5parser copied to clipboard
wrong self closing tags
The list of self-closing tags is incomplete. I'd suggest to use https://github.com/wooorm/html-void-elements as a basis and extend it w/ the special tag-names for comments and doctypes.
https://github.com/acrazing/html5parser/blob/cc95ffc4b50d99e64a477eb34934113f2d0ca3c4/src/config.ts#L19