Skip to content

Conversation

@kranges
Copy link
Collaborator

@kranges kranges commented Aug 5, 2019

Boasting a major performance gain this PR also allows opposite quotes inside of attributes ("'something'" or '"something"') and Boolean attributes.

This is a more thorough solution to the problems presented in #13 and #19.

Major performance improvment plus support for boolean attr and quotes.
@pconerly
Copy link
Collaborator

pconerly commented Aug 8, 2019

I pulled this down code locally. It looks good, and it solves my #27 issue

@kranges, my team member Mike added a test to your branch to verify our "attrs with colons" issue. If you want to merge that and then update this PR we'll have another test in!

tests for hyphens and colons
@pconerly
Copy link
Collaborator

pconerly commented Aug 8, 2019

Hello @HenrikJoreteg and @frontmesh we have three people who think this change would be great, and it fixes multiple issues. We've added tests and they pass. Could we get a review & merge, please? Thanks!

@HenrikJoreteg
Copy link
Owner

Hi @kranges and @pconerly! I've added you both as collaborators on this project. I don't have time to maintain all my open source stuff so I'd rather people like yourselves who are using and invested in making it better help maintain it. Thanks for making it better :)

Copy link
Collaborator Author

@kranges kranges left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hoping to come back to the regex and clean it up eventually but it is officially running on production.

Copy link
Collaborator

@pconerly pconerly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. @kranges this branch was running on my production too :D

@HenrikJoreteg
Copy link
Owner

@kranges @pconerly awesome. Out of curiosity... what are you using this for?

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.

4 participants