Closed hansede closed 7 years ago
My mistake, this isn't valid Pug syntax in spite of being valid in HTML. I missed this part of the Pug docs:
If your attribute name contains odd characters that might interfere with JavaScript syntax, either quote it using "" or '', or use commas to separate different attributes.
In the attached image, notice the second attribute is colored white, while the first attribute is colored orange, in spite of both starting with the same special character.