-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
js-beautify incompatible with handlebar syntax #453
Comments
Are you running html-beautify or js-beautify on this? |
It was the http://jsbeautifier.org/. It has similar behavior in the jsbeautifier plugin for Bracket editor |
Same problem as #385. To begin with we should ignore the contents of these tags, as a later enhancement we could try it actually format them. |
Bummer, this is needed for me since alot of dev work is with Handlebars syntax. |
I totally agree it is worth fixing. Feel free to contribute! 😄 |
Ignore html script and style tags with unexpdcted type attributes Fixes #453
The fix would be needed for templates commonly used with bootstrap. For example: |
js-beautify will break embedded html in handlebar syntax. I am not familiar with how js-beautify works. Is there anyway to add stuff like
type="text/x-handlebars"
to js-beautify as ignore?Source
After js-beautify
The text was updated successfully, but these errors were encountered: