-
Notifications
You must be signed in to change notification settings - Fork 79
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
Whitespace trimming doesn't work like examples in Liquid docs #377
Comments
Thanks for reporting this! I'm going to be a bit busy for the next month or so with having just moved, so it'll be a bit before I can get to this though I could help you if you want to dig into it. |
Thank you for the quick answer! I am in no rush at all so I can wait as long as you need. |
I'm new to rust but would be interested in taking a look at this issue; seems like it could be straight-forward to track down. Please let me know if you are interested in the help. |
Yes, would love the help. |
Great. I'll start taking a look today. I've read through the contributing guidelines, but if there are any other details to be aware of please let me know. |
Nah, pretty straightforward. Not sure if its mentioned but we do use conventional commit style which the CI enforces. I try to not make too big of a deal out of it because not everyone is comfortable enough with git to clean things up. I usually tell people tell people how to clean it up or give them the option of me cleaning it up for them |
liquid-rust version: 0.19
rust version: nightly
OS: Windows
When using
{%- -%}
to open and close a tag, some unwanted whitespace still appears in the rendered document.Looking at the example at the bottom of this page for reference, I would expect the following template render to look correctly indented:
Instead, the result looks like:
Notice the extra indentation before each entry in the frames struct.
The text was updated successfully, but these errors were encountered: