Skip to content
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

should trigger error for mismatched start / end directives #15

Closed
asottile opened this issue Dec 27, 2018 · 1 comment
Closed

should trigger error for mismatched start / end directives #15

asottile opened this issue Dec 27, 2018 · 1 comment

Comments

@asottile
Copy link
Contributor

for example

{% if True %}
...
{% endfor %}
@asottile
Copy link
Contributor Author

oops, my loaner keyboard has a sticky shift key which causes me to shift+enter

the jinja compiler itself produces this error:

Encountered unknown tag 'endfor'. Jinja was looking for the following tags: 'elif' or 'else' or 'endif'. The innermost block that needs to be closed is 'if'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant