The formatter does not include an new line if there are multiple root elements. I think its inconsistent because it does add them for nested elements.
<parent>
<child>
Text
</child>
<child>
Text
</child>
</parent>
<parent>
<child>
Text
</child>
</parent>
is formated as
<parent>
<child>
Text
</child>
<child>
Text
</child>
</parent><parent>
<child>
Text
</child>
</parent>
it even becomes worse with empty root elements
<foo />
<bar />
<fizz />
<buzz />
becomes
<foo /><bar /><fizz /><buzz />
The formatter does not include an new line if there are multiple root elements. I think its inconsistent because it does add them for nested elements.
is formated as
it even becomes worse with empty root elements
becomes
<foo /><bar /><fizz /><buzz />