Skip to content

Conversation

@jlaamanen
Copy link

Fixes #149 by making token pattern matching greedy. Otherwise, if an attribute named foo appears before another attribute named foo-bar, the latter attribute would be matched as foo, making the -bar part look like a separator after foo token.

Also fixed unit tests that were failing because invalid.pug was no longer invalid.

@ezhlobo
Copy link
Member

ezhlobo commented May 30, 2019

@pugjs/linter hey, is there a chance we can merge this and publish?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Validate attribute separator not working properly

2 participants