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
An unmatched HTML tag inside a {% comment %} block raises the error
{% comment %}
Parse error: expected one of 'autoescape', 'block', 'blocktrans', 'comment', 'filter', 'for', 'if', 'ifchanged', 'ifequal', 'ifnotequal', 'not an intermediate Jinja tag name', 'spaceless', 'verbatim', 'with'.
Parse error: expected one of 'autoescape', 'block', 'blocktrans', 'comment', 'filter', 'for', 'if', 'ifchanged', 'ifequal', 'ifnotequal', 'not an intermediate Jinja tag name', 'spaceless', 'verbatim', 'with'
comment, parse error
#74 is similar but not identical.
curlylint 0.13.1, python 3.11.1, MacOS 11.7.3
Create a new folder containing a file test.html:
test.html
{% comment %} there is an <interesting> tag here {% endcomment %}
Run curlylint --parse-only .
curlylint --parse-only .
Linting should pass with no errors
Error reported:
test.html 2:3 Parse error: expected one of 'autoescape', 'block', 'blocktrans', 'comment', 'filter', 'for', 'if', 'ifchanged', 'ifequal', 'ifnotequal', 'not an intermediate Jinja tag name', 'spaceless', 'verbatim', 'with' at 2:3 parse_error Oh no! 💥 💔 💥 1 error reported
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
An unmatched HTML tag inside a
{% comment %}
block raises the errorParse error: expected one of 'autoescape', 'block', 'blocktrans', 'comment', 'filter', 'for', 'if', 'ifchanged', 'ifequal', 'ifnotequal', 'not an intermediate Jinja tag name', 'spaceless', 'verbatim', 'with'
.Which terms did you search for in the documentation and issue tracker?
comment, parse error
#74 is similar but not identical.
Environment
curlylint 0.13.1, python 3.11.1, MacOS 11.7.3
Steps to reproduce
Create a new folder containing a file
test.html
:Run
curlylint --parse-only .
Expected behavior
Linting should pass with no errors
Actual behavior
Error reported:
The text was updated successfully, but these errors were encountered: