Hi Jonathan,
Thanks for sharing your tidy settings.
With the given configuration, all attributes except for the first are
returned in a separate line…
<wg class="cl"
rule="S-IO"
cltype="VerbElided">
In Patrick’s example, some attributes were returned in a single line
(possibly depending on the expected string length). Maybe it was
generated via Saxon (just a guess):
<wg class="cl" rule="S-IO" cltype="VerbElided">
Do you have a preference which representation would be required, or do
you think the details are not that relevant?
We could possibly add a custom serialization parameter similar to
tidy’s 'indent-attributes' option, and it would probably be easier to
ignore the expected string length.
All the best,
Christian