Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix indenting of Handlebars/Mustache inverted sections #1624

Merged
merged 3 commits into from
Jan 30, 2019
Merged

Fix indenting of Handlebars/Mustache inverted sections #1624

merged 3 commits into from
Jan 30, 2019

Conversation

e2tha-e
Copy link
Contributor

@e2tha-e e2tha-e commented Jan 29, 2019

Fixes #1623

The regexp update matches that on line 580 of the same file. As an aside, # does not need to be escaped because it is not a special regular expression character.

The js tests have been updated to ensure this works.

I did not see any Python HTML beautifier, so I could not port anything to that language.

Thanks for taking the time to maintain this package!

Copy link
Member

@bitwiseman bitwiseman left a comment

Choose a reason for hiding this comment

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

Great issue and PR. Thanks!

@bitwiseman bitwiseman merged commit 3d3bbf2 into beautifier:master Jan 30, 2019
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.

2 participants