Align attribute token syntax to the HTML spec. #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "bug/1383451_attribute_names"
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, attribute names can contain a lot more characters. This allows among other things to properly support Vue template syntax2, in particular shorthands like
@click=onClickand also Dynamic Arguments syntax likev-bind:[attributeName]="url".Bug: http://crbug.com/1383451
https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 ↩︎
https://vuejs.org/guide/essentials/template-syntax.html ↩︎
Here's the first (uncontroversial) part of https://github.com/lezer-parser/html/pull/4, aligning the parsing of attribute names with the HTML spec.
Merged as
057e9ee, thank you.Pull request closed