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
Using {# djlint:off #} prevents disables the whitespace at the beginning of the line when running --reformat
Initial file:
<div> <div> {{ test }} </div> </div>
which is formatted to, after running djlint <filename> --reformat:
djlint <filename> --reformat
<div> <div>{{ test }}</div> </div>
But after adding turning of the rule
{# djlint:off H021 #} <div> <div> {{ test }} </div> </div> {# djlint:on #}
Formating still happens but the whitespace is not added:
{# djlint:off H021 #} <div> <div>{{ test }}</div> </div> {# djlint:on #}
Expected:
{# djlint:off H021} <div> <div>{{ test }}</div> </div> {# djlint:on #}
The text was updated successfully, but these errors were encountered:
69ef16a
chore(release): 1.9.3 [skip ci]
b4c835c
## [1.9.3](v1.9.2...v1.9.3) (2022-08-01) ### Bug Fixes * **formatter:** fix to prevent formatter from breaking malformed attribute tags ([80263b2](80263b2)), closes [#317](#317) * **linter:** disabling linter rules should not disable formatting ([69ef16a](69ef16a)), closes [#316](#316)
🎉 This issue has been resolved in version 1.9.3 🎉
The release is available on:
Your semantic-release bot 📦🚀
Sorry, something went wrong.
No branches or pull requests
System Info
Issue
Using {# djlint:off #} prevents disables the whitespace at the beginning of the line when running --reformat
How To Reproduce
Initial file:
which is formatted to, after running
djlint <filename> --reformat
:But after adding turning of the rule
Formating still happens but the whitespace is not added:
Expected:
The text was updated successfully, but these errors were encountered: