So if I have a HTML heading like this

<h2>A Heading</h2>

and I run Edit -> Format Document it ends up looking like this

<h2>
    A Heading</h2>

why is this? It doesn't do it to other block elements, but it does do it to other inline elements (eg <label>).

Update: To clarify, I mean why is this the default, not where are the settings to change this

Edit
Report