Align unquoted attribute value syntax with the HTML spec. #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "unquotedAttributeValues"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
According to the HTML spec1 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
https://html.spec.whatwg.org/multipage/syntax.html#unquoted ↩︎
Any reason you're using hex codes rather than the more readable and shorter escapes like
\tin 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.