Reformat spacing in HTML attributes

Hi,

how can I cleanup this HTML code:

<div style="    background-color: #009fff;    float: left;     height: 54px;     padding: 0.5rem 0 0.5rem 1rem;">

to look like this:

<div style="background-color: #009fff; float: left; height: 54px; padding: 0.5rem 0 0.5rem 1rem;">

Thanks

1 comment
Comment actions Permalink

Hi there,

AFAIK -- no way for automatic cleanup (e.g. on "Code | Reformat code...")

https://youtrack.jetbrains.com/issue/WEB-2324 -- watch this ticket (star/vote/comment) to get notified on any progress.

0

Please sign in to leave a comment.