We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think the operator precedence is not working properly:
Consider this model: t = true; f = false;
t = true; f = false;
And consider this template: {% if not f and not t %} This should not be displayed {% endif %}
{% if not f and not t %} This should not be displayed {% endif %}
... But the result is, that "This should not be displayed" IS displayed.
If I use parentheses
{% if (not f) and (not t) %} This should not be displayed {% endif %}
it works as expected
The text was updated successfully, but these errors were encountered:
Fix operator precendence #290
9cd7583
Fixed via 9cd7583
Sorry, something went wrong.
cool! Sourcecode change is much cleaner, than I expected! Thank you!
No branches or pull requests
I think the operator precedence is not working properly:
Consider this model:
t = true; f = false;
And consider this template:
{% if not f and not t %} This should not be displayed {% endif %}
... But the result is, that "This should not be displayed" IS displayed.
If I use parentheses
{% if (not f) and (not t) %} This should not be displayed {% endif %}
it works as expected
The text was updated successfully, but these errors were encountered: