Tidy respects _xml:space="preserve"_ but enters newline on nodes with this
attribute.

before:

<?xml version="1.0" encoding="UTF-8"?>
<test>
  <test1 xml:space="preserve">   three   spaces   leading   between   trailing  
</test1>
  <test2>   three   spaces   leading   between   trailing   </test2>
</test>


after TiDy XML reformat:

<?xml version="1.0" encoding="utf-8"?>
<test>
  <test1 xml:space="preserve">
   three   spaces   leading   between   trailing
</test1>
  <test2>three spaces leading between trailing</test2>
</test>


-- 
<http://forum.pspad.com/read.php?4,64997,65006>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem