-
Notifications
You must be signed in to change notification settings - Fork 453
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
Handlebars {{else if}} and {{each}}{{else}} not formatting #781
Comments
I think Pretty Diff is the default beautifier for Handlebars templates. When I supply the code samples to http://prettydiff.com the result looks correct. I will continue to look at this. |
I am alerting @bitwiseman that there may be an issue with JS Beautify. I will also work on adding Pretty Diff as a secondary beautifier for Handlebars. |
@Glavin001 Why is Handlebars not listing Pretty Diff as a beautifier? It appears to be properly indicated in the code: https://github.com/Glavin001/atom-beautify/blob/master/src/beautifiers/prettydiff.coffee#L72 |
@prettydiff, @janwerkhoven - handlebars support is very spotty in beautifier. Please file this as an issue of there. Thanks! |
This issue has been automatically marked as stale because it has not had recent activity. If this is still an issue, please add a comment. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi,
There are couple of Handlebar blocks which do not indent as expected. Using JS Beautify (only option).
In Ember the
{{else if}}
block:Also in Ember the
{{else}}
blocks within{{each}}
blocks:Atom debug log: https://gist.github.com/janwerkhoven/9a20c4b21b2ee3ce0555
Love your package 👍
The text was updated successfully, but these errors were encountered: