gajus / dindent

HTML indentation library for development and testing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect line break inside attribute value

navindex opened this issue · comments

<label data-action="click->controller#action" ><input >Label</label>
translates to this:

<label data-action="click->\n
     controller#action" >\n
     <input >\n
     Label\n
 </label>

The expected output should be:

<label data-action="click->controller#action" >\n
     <input >\n
     Label\n
 </label>