Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
drewbie8064yI would keep class on the <i line, and then indent the aria and click one time. Then put the ending </i> on the (click) line.
-
asgs112754yAren't there tools to reformat the code as part of precommit hooks or a build step to enforce this?
-
This is good formatting for XML as they are for storing data and this makes it Readable, for HTML it's not very useful.
Are you sure you have set correct formatting mode? -
I’ll sometimes break out HTML like this if I have a lot of attributes on something like if I’m using AOS.
Related Rants
I might be bad at indenting, ok, but THIS...
THIS is one of the worst thing I've ever seen for HTML
rant
indentation
html