html5parser icon indicating copy to clipboard operation
html5parser copied to clipboard

wrong self closing tags

Open espretto opened this issue 2 years ago • 0 comments

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

espretto avatar Jul 29 '22 15:07 espretto