xml:space="preserve"
Hi I noticed that after fetching the xliff file from PoEditor, it contains
xml:space="preserve"
whit some \n inserted. This breaks a lot of stuff on our side.
How can we avoid it?
Angel
-
We use \n instead of whitespaces because of a bug in Xcode related to the XLIFF file import.
Not working with XLIFF ourselves, we don't know if this bug has been fixed in the meantime, but a few months ago, exporting with whitespace would have given you something like this:
https://forums.developer.apple.com/thread/21518Unfortunately, we don't have a solution, other than replacing the \n in the exported file with whitespaces, and then trying to import the file in XCODE.