-
-
Notifications
You must be signed in to change notification settings - Fork 347
Closed
Description
For block HTML, a declaration is as follows:
Start condition: line begins with the string
<!followed by an uppercase ASCII letter.
End condition: line contains the character `.
For raw HTML (inline), it is as follows:
A declaration consists of the string
<!, a name consisting of one or more uppercase ASCII letters, whitespace, a string of characters not including the character>, and the character>.
The reference parser does not seem to care about the inline HTML restriction on uppercase ASCII letters:
asd <!doctype html>
<!doctype html>
CM:
<p>asd <!doctype html></p>
<p><!doctype html></p>
Note that both are inline, and both “work”.
I am raising this issue here as I think a better solution is to change the spec, to allow ASCII lowercase alphas in declarations, as HTML also allows them.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels