-
Bug
-
Resolution: Unresolved
-
None
-
None
-
High
-
Emptyshow more show less
Problem
When working with segments having internal tags, it may happen that some of those tags will get duplicated indices.
For example, if segment source has
word1<1/>word2⎵word3<2/>word4
assuming <1/> and <2/> are internal tags, and ⎵ - is a whitespace NBSP tag,
but you replicate that into segment target as:
- type "word1"
- press Ctrl + comma, release 1 - to copy <1/> from source
- type "word2"
- insert "⎵" i.e. nbsp via specialchars menu, and internally it is inserted as <2/>
- type "word3"
- i press Ctrl + comma, release 2 - to copy <2/> from source
- type "word4"
and the you hover mouse on ⎵ - you'll see "<2/>..." in the tooltip.
So this means we have two "<2/>" tags in target, the first one is a result of a specialchar NBSP insertion, and a second one is a result of a tag copy from source{}
Solution
The logic should be changes to make indices unique within segment target, and it should be discussed and decided whether is should be done on browser-side, or on server-side when segment is saved