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
Unexpected newline removal #447
Comments
This seems like a bug of empty stripping feature. Let me look into it. |
@sunng87 I can confirm it fixes the issues I had in unit tests. I'm having a hard time testing it in a larger context because of the licensing changes of dependencies in v4, but I could raise separate issues if I find anything else after that's worked through. |
@tjkirch could you be more specific on the licensing changes of dependencies? Perhaps we can find workaround for that |
I think I've narrowed it down:
None of this is bad, but for projects that need to track and approve licenses, it adds a fair amount of overhead to the update to v4. |
I see. Thank you for getting back to me. These issues could happen on 3.x with regular I will release 4.1.0 soon to include this fix. Let me know if I could help. |
After #404, it seems lines are being removed a bit too aggressively. If I have a template like this:
I would expect it to render like this, if the data is
{"a": true}
:This is what happens in handlebars.js, which I tested on tryhandlebarsjs.com.
In handlebars-rust 4, this renders as:
The text was updated successfully, but these errors were encountered: