Closed raffecat closed 6 years ago
Hi taoqf,
I found a problem trying to parse html with custom element names, if the element name has more than one dash in it.
The current HTML spec says a custom element must have at least one dash, but also allows any number of dashes :)
https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name
PR if you want it :)
Andrew.
Many thanks.
Hi taoqf,
I found a problem trying to parse html with custom element names, if the element name has more than one dash in it.
The current HTML spec says a custom element must have at least one dash, but also allows any number of dashes :)
https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name
PR if you want it :)
Andrew.