That makes sense, and in fact my XML output with
s gets parsed later
correctly. My personal use case has input XML files with literal LF
characters, and it's frustrating that when my Go program modifies that
file, they're all converted, which makes my git commit including that XML
file messy.
Hi,
Am 15.08.17 um 08:31 schrieb patrickjtray...@gmail.com:
> I simply want the XML files my program outputs to not have newline
> characters escaped into
. My input XML files contain newlines and I
> want to preserve them.
The
is the XML entity for LF. This is correct XML which contains
exact