You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The HTML flow type 7 (complete tag) seems to indicate with its start condition:
Start condition: line begins with a complete open tag (with any tag name other than script, style, or pre) or a complete closing tag, followed only by whitespace or the end of the line.
...that the following matches:
<x> a
Because it is a full opening tag, followed by a space (which is whitespace)
It seems that the start condition should be worded as:
Start condition: line begins with a complete open tag (with any tag name other than script, style, or pre) or a complete closing tag, followed by zero or more spaces and tabs, followed by the end of the line.
Or is this a bug in implementations?
I can open a PR with an agreeable fix to the spec.
The text was updated successfully, but these errors were encountered:
I figured that "followed only by whitespace" implies "not followed by whitespace AND a letter."
But I agree, this could be more explicit, so I'd be happy with a PR.
The HTML flow type 7 (complete tag) seems to indicate with its start condition:
...that the following matches:
<x> a
Because it is a full opening tag, followed by a space (which is whitespace)
cmjs doesn’t see it as such:
It seems that the start condition should be worded as:
Or is this a bug in implementations?
I can open a PR with an agreeable fix to the spec.
The text was updated successfully, but these errors were encountered: