Closed UnknownPlatypus closed 3 months ago
I can't push to your repository so I edited and merged locally and closed this PR.
I can't push to your repository so I edited and merged locally and closed this PR.
The Allow edits by maintainers
checkbox seems to be a little bugged. It doesn't do anything, event if I check it now :/
Anyway, thanks for the followup! Looking good
Hello !
This is an attempt to solve an issue I encountered when using your formatter on a template with unquoted interpolated attribute value. The recovery was slightly wrong, my code was reformated this way resulting in a template rendering issue:
The whole interpolated value should be quoted because I believe this is what actually happens after a value get's interpolated and finally rendered by a browser.
PS: I'm quite new to rust and your codebase in general so I'll happily update this pr following any suggestion you would make.
PS2: This is part of a bigger effort of making your wonderful formatter compliant with Django template too, If you're open to such improvement, I'll happily open an issue about that. I already started to identify deviations with jinja templates but the syntax is quite similar.