-
Notifications
You must be signed in to change notification settings - Fork 33
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
Some newline characters are being removed #68
Comments
Sounds strange and inconsistent. I'll look into it! |
Any update? |
I've had a rather hectic spring without looking so much at ructe, but I'm looking now, and will have a PR ready shortly. |
kaj
added a commit
that referenced
this issue
Jul 17, 2020
Fixes #68. Whitespace was ignored after the closing brace of a for loop, which was inconsistent with other blocks (where whitespace after the block remains). I might have introduced this bug intentionally way back, just to get some less "junk" whitespace in my output. But that will have to be solved in a more predictable and deterministic way at some later time.
kaj
added a commit
that referenced
this issue
Aug 14, 2020
* PR #80 and #94: Support Tide framework by a feature and an example. * PR #91: Update basic examples to edition 2018. * Issue #68, PR #90: Don't eat whitespace after a for loop. * Issue #66, PR #89: Fix parse error for nested braces in expressions. * PR #84: Use std::ascii::escape_default. * PR #87: Provide ToHtml::to_buffer() * Forbid unsafe and undocumented code. * The build is on https://travis-ci.com/kaj/ructe now. * Internal cleanup. Thanks to @Aunmag and @prabirshrestha for reported issues and contributed code.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have this template:
I expected it would produce:
But there's no two last newline characters right before "Good bye!":
rustc 1.39.0 (4560ea788 2019-11-04)
cargo 1.39.0 (1c6ec66d5 2019-09-30)
ructe 0.9.0
The text was updated successfully, but these errors were encountered: