Simon Urli - 2024-03-28

I tried to work on that issue, I think I actually made too much changes: in particular I saw that XmlSerializer#dontEscape is used both for knowing if the content needs to be escaped and to know if CDATA should be added, which is a problem here as we still don't want to escape the content even without a CDATA.
So I think same problem might apply to DomSerializer, in which case my code is probably wrong and I might miss adding a unit test somewhere.