kristoff-it / superhtml

HTML Language Server & Templating Language Library
MIT License
172 stars 11 forks source link

Make the match for "DOCTYPE" case-insensitive #2

Closed Arnau478 closed 2 months ago

Arnau478 commented 2 months ago

Under section 13.2.5.42 of the HTML specification, it is stated that it should be:

ASCII case-insensitive match for the word "DOCTYPE"

This is not the case with "--" nor "[CDATA[", under the same section, so those don't need to be updated.

kristoff-it commented 2 months ago

Thank you sooo much!!