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
Thanks, I looked into it a bit and it seems like the contents of backtick blocks are not touched by jsbeautifier (good), but djlint wasn't expecting it :) . I'll see what can be done to fix this. Thanks for opening the issue!
System Info
python --version
) = 3.10.10djlint --version
) = 1.25.0Issue
This was encountered in vEnhance/otis-web#191 (comment) and I am forwarding upstream at the request of @christopherpickering.
The snippet
is not reformatted properly by
djlint
with--format-js
. Running the command causes the text line to be indented one further level each time.How To Reproduce
Run
djlint --format-js --reformat snippet.html
on the snippet above. Example terminal session below as both text and image.The text was updated successfully, but these errors were encountered: