You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
christopherpickering
changed the title
[BUG] [Linter] Tag seems to be an orphan false positive
[FEATURE] [Linter] Tag seems to be an orphan false positive
May 18, 2023
there are some similar issues but I think this one is a little bit different
System Info
Issue and How To Reproduce
djLint gives an error:
H025 2:0 Tag seems to be an orphan. <tr class="foo" foo=
for the template below:
and
--check
tries to do:which gives me incorrect indentation:
But it is not an orphan since both
{% if %}
and{% else %}
produce<tr>
opening tag and there is always</tr>
ending tag after{% endif %}
.Contents of .djlintrc/pyproject.toml [tool.djlint]
no config, running with
--profile=jinja
The text was updated successfully, but these errors were encountered: