I am using xml-conduit to parse xml, adjust it and render it again.
I don't know if this is a bug or expected behaviour, but when parsing newlines encoded as 
 they are stored as newlines \n in memory. When rendered as xml they do not seem to be replaced by 
.
So following element goes from:
<someElement id="1" name="Picture 1" descr="A picture containing window, indoor

Description automatically generated"/>
to:
<someElement id="1" name="Picture 1" descr="A picture containing window, indoor
Description automatically generated"/>
Is that expected behaviour? I have found the ParsingSetting: DecodeIllegalCharacters but the output type is just a single character. So I am not sure how exactly I would use this to prevent such behaviour. I also didn't find any RenderSettings that could be used.
I am using
xml-conduitto parse xml, adjust it and render it again.I don't know if this is a bug or expected behaviour, but when parsing newlines encoded as

they are stored as newlines\nin memory. When rendered as xml they do not seem to be replaced by
.So following element goes from:
to:
Is that expected behaviour? I have found the
ParsingSetting: DecodeIllegalCharactersbut the output type is just a single character. So I am not sure how exactly I would use this to prevent such behaviour. I also didn't find anyRenderSettingsthat could be used.