Is it possible to preserve extra line breaks when using [input-xml: yes] [indent: yes]
Robert Parks <[email protected]>
| Newsgroups | gmane.comp.web.html-tidy.user |
|---|---|
| Message-ID | <[email protected]> |
Say xml input is:
<root>
<a><b>c</b></a>
<a><b>c</b></a>
</root>
When I run with:
input-xml: yes
indent:yes
indent-spaces:2
It strips the newlines:
<root>
<a>
<b>c</b>
</a>
<a>
<b>c</b>
</a>
</root>
I would rather have the output to be:
<root>
<a>
<b>c</b>
</a>
<a>
<b>c</b>
</a>
</root>
Is there an parameter I can set so it preserves extra newlines? I am
trying to copy the behavior of MS Visual Studio 2008.
Thanks!
Rob