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
Curlylint wants a space after {% endif %}. But this seems valid scenario to me:
{% endif %}
<form {% if has_file_field %}enctype="multipart/form-data" {% endif %}action="{{ form_url }}"></form>
It raises:
Parse error: expected one of '>', '\\s+', '{#', '{%', '{{' at 45:70 parse_error
Curlylint is okay when 'shifting' the white:
<form{% if has_file_field %} enctype="multipart/form-data"{% endif %} action="{{ form_url }}"></form>
I used curlylint, version 0.12.0
The text was updated successfully, but these errors were encountered:
Hey @allcaps, thank you for taking the time to report this!
This needs fixing, I don’t know what change exactly is needed, but the code is here:
curlylint/curlylint/parse.py
Lines 416 to 420 in aa9c15b
I’m working on adding more tests for the parser. Once they’re in place, it should hopefully be much easier to fix things like this.
Sorry, something went wrong.
Add tests for unresolved attributes spacing issue
0bfe433
See #37
a612108
No branches or pull requests
Curlylint wants a space after
{% endif %}
. But this seems valid scenario to me:It raises:
Curlylint is okay when 'shifting' the white:
I used curlylint, version 0.12.0
The text was updated successfully, but these errors were encountered: