Steps to reproduce:
- in a script block declare a variable as a formatted XML block.
EXAMPLE:
foo
bar
baz
;
]]>
- run the tidy command.
Expected result:
You would expect the tidy command to only format the xml block once
Actual result:
The xml variable is formatted as many times as you run the tidy command. Creating huge spaces between xml nodes.