-
-
Notifications
You must be signed in to change notification settings - Fork 85
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] object variable gets turned into repr of object type #756
Labels
Comments
christopherpickering
pushed a commit
that referenced
this issue
Sep 18, 2023
# [1.33.0](v1.32.1...v1.33.0) (2023-09-18) ### Bug Fixes * **formatter:** fixed extra breaks added around html tags inside template tags ([6091ffb](6091ffb)), closes [#742](#742) * **formatter:** fixed extra indend in script tags ([9d04d51](9d04d51)), closes [#733](#733) * **formatter:** fixed formatting on functions that used python keywords as the param name ([183a7c0](183a7c0)), closes [#756](#756) * **h033:** fix rull to not match data-action ([f6881e0](f6881e0)) * **linter:** fixed false positive on DJ018 ([78d81dc](78d81dc)), closes [#755](#755) ### Features * **formatter:** added support for nunjucks async loop tags ([5a32bb3](5a32bb3))
🎉 This issue has been resolved in version 1.33.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 🔥 Thank you! |
3 tasks
This issue still persist if you use the object inside a tag, e.g. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
System Info
Issue
Well, I use variable "object" in my templates, similar to what django does (
{% for object in object_list %}
).The following:
Gets turned into:
How To Reproduce
djlint --reformat example.html
.Additional info
Config used (
pyproject.toml
):The text was updated successfully, but these errors were encountered: