Closed bmeurer closed 1 year ago
Any reason you're using hex codes rather than the more readable and shorter escapes like \t
in there?
Any reason you're using hex codes rather than the more readable and shorter escapes like
\t
in there?
Was easiest to not make a mistake when going through the HTML spec. I've updated the patch to a minimal delta.
Thanks, merged.
According to the HTML spec^1 the unquoted attribute values can contain slashes, and basically only forbid ASCII whitespace, quotation characters, equals, and <>. This fixes the token regex to be aligned with the HTML specification here.
Bug: https://crbug.com/1385661