You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The whole stack seems to rely on xml:preserve being set on the unit element, but it doesn't enforce it. I'm not confident whether it's more reasonable to handle this in Weblate or in the translate-toolkit...
The issue you've reported needs to be addressed in the translate-toolkit. Please file the issue there, and include links to any relevant specifications about the formats (if applicable).
Describe the bug
The xliff export does not preserve line breaks or tabs in
<target>
fields: the@xml:space="preserve"
attribute is absent.To Reproduce the bug
Translate it by adding newlines and tabs :
Download translation file
return an xliff file in which these characters are lost :Expected behavior
Systematize
xml:space="preserve"
on tag<target>
(or only when it is essential) :workaround
If the source xliff file contains,
<target xml:space="preserve"/>
,@xml:space="preserve"
is preserved.Server configuration and status
Thank you for your answer
The text was updated successfully, but these errors were encountered: