-
Notifications
You must be signed in to change notification settings - Fork 25
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
Crash when closing HTML tags inside Jinja2 if statements #46
Comments
I see there is a comment in the code for a similar situation - |
Having the same issue with the opening tags. For example:
Probably that's not the best example, but something like
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the neat tool!
I've run into an issue with jinja2 when close a html tag inside of a jinja2 if statement. Something simple like this -
will produce this error:
I'm on a Mac using python 3.9 w/ the latest version of curlylint.
The general syntax validation seems to work well up until this step. Possible could the template tags be stripped out for this particular test? Or allow close / open tags out of sequence inside an if statement?
Or ideas for a better way to write jinja are also welcome :)
Thanks!
The text was updated successfully, but these errors were encountered: