-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Preserve attributes line break in HTML #455
Comments
Please describe current output so we can see how it differs. |
it will just concatenate into one line <div id="anId" name="aName" class="aClass" onclick="alert('hello')" ondblclick="alert('hello')">asdf</div>
<input type="text" name="aName" class="aClass" id="anId"> could we have one more option to preserve line break of html attributes or line break within the angle bracket, plus auto align the first character of each attributes? |
Would like to see this too... |
This would be pretty awesome 👍 |
+1 |
2 similar comments
+1 |
+1 |
Good to know folks. Anyone want to take a swing at a PR? |
+1 |
3 similar comments
+1 |
+1 |
+1 |
@jfletcher-nuxeo, @websirnik , @frasator , @kentliau , |
So
EDIT: I see there are already some issues for this request, I'll update it. |
agreed with @jfletcher-nuxeo , better to position by first attribute |
+1 to align with first attribute in the actual html element. |
+1 |
1 similar comment
+1 |
did anyone solve this issue? |
@jorgeramirez - See #1015. Does |
Any news on this issue? its quite annoying! |
@Vortilion |
Where can I do this? As far as I can see it here it’s not fixed? This option does nothing for me... it always formats the html attributes as one liner...ö |
like this
The text was updated successfully, but these errors were encountered: