-
-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
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
[BUG] [Formatter] Whitespace control incorrectly formatted for variable blocks works since 1.28.0 #667
Comments
@NVolcz Thanks for all your issues, I appreciate you finding these bugs :) I'm looking forward to the day you will also send a PR 😁 I'll get this fixed soon. |
The pleasure is mine 🙂. I am slowly getting to know the code base. |
@NVolcz can you send me your config? With the default config I can't reproduce it: |
Of course:
|
Sorry. My test case is bad. Here is a better one:
|
# [1.30.0](v1.29.0...v1.30.0) (2023-05-30) ### Bug Fixes * **formatter:** fixed endset indent level ([cdebe42](cdebe42)), closes [#670](#670) * **formatter:** fixed issue with spaceless macro tags having spacess added before - ([5593937](5593937)), closes [#667](#667) * **npm:** install exact version of djlint ([0727279](0727279)) ### Features * **npm:** add script to update djlint version in postinstall using semantic-release/exec ([040ffc6](040ffc6))
🎉 This issue has been resolved in version 1.30.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
System Info
Issue
This:
gets formatted into this (notice the whitespace between
{{
and-
):From the nunjucks documentation:
How To Reproduce
The text was updated successfully, but these errors were encountered: