Details
-
Bug
-
Resolution: Fixed
-
None
-
Critical
-
When using TagProtection (protect plain HTML code in XLF as tags) line breaks in HTML attributes were not probably resolved.
-
Empty show more show less
Description
Consider a XLF segment with the following trans-units:
<trans-unit id="NFDBB2FA9-tu1" xml:space="preserve"> <source xml:lang="de">Text mit <b>0</b> in tags gab Probleme.</source> </trans-unit> <trans-unit id="NFDBB2FA9-tu2" xml:space="preserve"> <source xml:lang="de">Text mit <span data-text="böse Zeilen Umbrüche">Umbrüchen </span> im Attribut gab Probleme.</source> </trans-unit> <trans-unit id="NFDBB2FA9-tu3" xml:space="preserve"> <source xml:lang="de">Invalides XML <img> mit invaliden <donotexist>HTML Tags</donotexist> müssen encodiert sein!</source> </trans-unit>
all three cases were producing problems.
- The first one led to invalid HTML content after import since the <b> tag was remaining in the content.
- The second one was producing invalid XML stopping the AutoQA from parsing the segment
- The third one led to remaining invalid XML / HTML fragments in the content