-
Type:
Task
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: t5memory
-
High
-
Decode html entities on TMX import to prevent import errors
-
Emptyshow more show less
Problem
Importing a TMX file that contains a whitespace as entity (& nbsp; ) will crash import into T5memory. The entry containing the whitespace-entity is not imported and what makes things even worse, all entries after the one with the whitespace-entity are not imported too.
And, we do not get any error for the language-resource. So a silent death.
Data to reproduce can be found in our testing-space.
Solution
We have to replace html entity in tmx with some placeholder.
logic should be reused in tag handler as well so that segment from task could have html entities that can be found on t5memory side with fuzzy