-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
Empty line stripping fix #448
Conversation
This cannot easily be fixed from pest parser level. I'm looking into template parser to resolve this. Rules for whitespace auto elimination is to check if the directive |
The original JavaScript version: handlebars-lang/handlebars.js#787 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
leading whitespace has to be removed too
The whitespace changes in tests are because of this bugfix: <sunng87/handlebars-rust#448>.
Fixes #447