Error with new lines in custom properties

when saving a tile map with an object with a custom property
if it has new lines it saves like this:

<property name="ABC">here 
is a 
test</property>

instead of like this:

<property name="ABC" value="here\nis a\ntest"/>

Is this a known issue? Is this only an issue with my xml parser? Is there a way to get around this?

This is intensional because the assumption is that when newlines are present, you may write quite a bit of text and it will be easier to read when it is written out as text data rather than as a value of an attribute, where newlines would need to be escaped.

The TMX Map Format documentation does make a note of this.