-
-
Notifications
You must be signed in to change notification settings - Fork 84
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] Djlint got stuck on my template #340
Comments
I tried to make minimal example of file with the problems. I was able to reduce it to the attached file, where |
It looks like this is producing |
## [1.11.1](v1.11.0...v1.11.1) (2022-08-22) ### Bug Fixes * **formatter:** fixed runaway regex on templates with many template attriutes inside html tags ([79cd013](79cd013)), closes [#340](#340) * **linter:** fixed false positive on T032 with jinja multi line set ([f9dac86](f9dac86)), closes [#342](#342) * **linter:** fixed false postive on rule H008 ([79618a5](79618a5)), closes [#339](#339) * **linter:** prevent linter matches that overlap ignored blocks of code such as comments ([90cf576](90cf576)), closes [#343](#343)
🎉 This issue has been resolved in version 1.11.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@christopherpickering Thank you very much for your work, now it work nicely 👍 |
Cool, thank you! |
System Info
Issue
Djlint got stuck when formating my template. All other templates are formated quickly, but this one takes forever (not finished after more than 10 minutes).
How To Reproduce
Run
djlint --check plan_table.html --profile=django
on attached template (I renamed it from html to txt in order to fit here).plan_table.txt
The text was updated successfully, but these errors were encountered: