-
-
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] line_break_after_multiline_tag
not always breaking as expected
#680
Comments
Thanks :) What is your config? With the default options it seems to work as expected. |
Here is my current config :
I've just tested again and
becomes
|
line_break_after_multiline_tag
not always breaking as expected
Thanks for the detailed explanation, always breaking the tag content does sound good to me. And thank you for updating the online demo ! |
# [1.31.0](v1.30.2...v1.31.0) (2023-06-12) ### Bug Fixes * **formatter:** fixed `line_break_after_multiline_tag` to force break in all cases ([3b37ec8](3b37ec8)), closes [#680](#680) * **formatter:** fixed isolated quotes being deleted from attributes ([19425f9](19425f9)), closes [#652](#652) * **formatter:** fixed wild match on template tags ([d288b78](d288b78)), closes [#686](#686) * **linter:** fixed false positive on t001 ([1caf4c4](1caf4c4)), closes [#606](#606) ### Features * **formatter:** added `max-blank-lines` flag to consolidate blank lines ([4a7897f](4a7897f)), closes [#675](#675) * **formatter:** added support for symphony forms ([e716ddc](e716ddc)), closes [#476](#476)
🎉 This issue has been resolved in version 1.31.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
System Info
Issue
Hi ! I'm trying the new
line_break_after_multiline_tag=true
option, which is pretty nice.I have run into a difference in behaviour depending on tags, and was wondering if all could behave alike (like the
div
in the following example). I have noticed this mostly on<a>
tags.How To Reproduce
Here is the initial situation, I would expect it to remain identical after reformatting
After reformating, the
span
gets condensed on one line, whereas thediv
does not :The text was updated successfully, but these errors were encountered: