Sebastian Mayr
Sebastian Mayr
See the same issue here: https://github.com/tmpvar/jsdom/issues/1048
In your example you can get the `XMLSerializer` interface from `dom.window.XMLSerializer` to drop the explicit w3c-xmlserializer dependency, but yeah, that should give you the result. I think the issue here...
I _think_ since you're reserialising, the xml declaration of the original document doesn't carry any weight anyways. What I mean is: due to the reserialization, you'll always have a normalised...