marko-js / htmljs-parser

An HTML parser recognizes content and string placeholders and allows JavaScript expressions as attribute values
MIT License
135 stars 20 forks source link

fix: tag var with default attribute properly parsed #81

Closed DylanPiercey closed 3 years ago

DylanPiercey commented 3 years ago

Fixes an issue where a tag variable followed by a default attribute was being parsed as a normal attribute without a name instead of having the default: true property set.