-
Notifications
You must be signed in to change notification settings - Fork 32
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
Indention bug with Stimulus action #57
Comments
I thought it was illegal to use unencoded
So I guess until this bug is fixed DjHTML should be considered an "older user agent" :-) |
Similar problems here, using alpine if and things like Past behaviour was different - I narrowed the change down to between 1.4.12 and 1.4.13. |
I checked So here is my solution:
I already make it work in my Stimulus project and here is the commit michael-yin@90d5ddf Maybe we can add Thx. |
@michael-yin I appreciate your solution, but I think we have found an even better solution that also fixes this bug. Could you verify that the latest release solves your problem? |
- Fixes formatting of `->` in Stimulus controlled element usage - Fixes wagtail#9965 - See rtts/djhtml#57
- Fixes formatting of `->` in Stimulus controlled element usage - Fixes #9965 - See rtts/djhtml#57
If we have a simple
test.html
fileIf I run
djhtml -i test.html
I got
As you can see, the last
</div>
indention is not correct.The
click->modal#closeBackground
caused this problem.The text was updated successfully, but these errors were encountered: