-
Notifications
You must be signed in to change notification settings - Fork 293
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
[bug] for loop else
doesn't strip whitespaces
#891
Comments
Probably already works in v2 but I'll have to add it as a testcase |
@Keats the bug exists in the latest published |
If someone does a PR sure |
What does |
@schungx https://keats.github.io/tera/docs/#for
{% for product in products %}
{{loop.index}}.{{product.name}}
{% else %}
No products.
{% endfor %} |
Duplicate of #862? |
The whitespace markers
{%-
and-%}
aroundfor
andendfor
strip whitespace correctly, but notelse
:The text was updated successfully, but these errors were encountered: