pug icon indicating copy to clipboard operation
pug copied to clipboard

Tag attributes with dashes, semicolons or underscores result in parse error

Open ademenev opened this issue 4 years ago • 0 comments

button.ui.icon.button(data-content="Feeder homing cycle")

error:

no match found, expected: "!=", ")", ",", "=", [ \t] or [._-:a-zA-Z0-9]

The problem is that [._-:a-zA-Z0-9] includes a range (_-:) instead of 3 separate chars. - should be escaped

ademenev avatar Apr 07 '20 02:04 ademenev