-
Notifications
You must be signed in to change notification settings - Fork 4.1k
amp-bind: XHTML-friendly syntax #11115
Copy link
Copy link
Closed
Description
Square brackets, e.g [foo], are not valid attribute name starting chars in XML spec: https://www.w3.org/TR/REC-xml/#NT-NameStartChar
Perhaps we can allow a configuration to switch to an alternative syntax, e.g.
<!-- Generic solution. -->
<script async custom-element="amp-bind" src="..." data-syntax="xml"></script>
<!-- Or an amp-bind specific solution. -->
<amp-bind syntax="xml"></amp-bind>Reactions are currently unavailable