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
In an HTML file (e.g.: file.html), djlint --reformat file.html ignores <!-- djlint:off --> tags and still reformats the content after the tag and before the <!-- djlint:on --> closing tag.
System Info
python --version
) 3.11.4djlint --version
) 1.34.0Issue
In an HTML file (e.g.: file.html),
djlint --reformat file.html
ignores<!-- djlint:off -->
tags and still reformats the content after the tag and before the<!-- djlint:on -->
closing tag.Issue is similar to #166
This behavior is inconsistent with documentation of djlint available on https://www.djlint.com/docs/ignoring-code/ for
For plain old html -
ignoring.How To Reproduce
djlint --reformat file.html
wherefile.html
has the following contents:file.html
gets reformated to:However, it should have been:
The text was updated successfully, but these errors were encountered: