lvapeab / m4loc

Automatically exported from code.google.com/p/m4loc
GNU Lesser General Public License v3.0
0 stars 0 forks source link

reinsert.pl: Closing </g> tag placed too late #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Tokenized source file with line:
Text with <g id="1"> code </g> and <g id="2"> bold </g> .
Pseudo-localized file with translation:
ithway odecay |1-2| . |5-5| exttay |0-0| and oldbay |3-4|

Run 
reinsert.pl source_tokenized < pseudo_localized

Output:
<g id="1"> ithway odecay . exttay </g> <g id="2"> and oldbay <g id="2"> </g>

Expected output:
<g id="1"> ithway odecay </g> . exttay <g id="2"> and oldbay <g id="2"> </g>

Original issue reported on code.google.com by Achi...@gmail.com on 8 Mar 2011 at 9:27

GoogleCodeExporter commented 9 years ago
Corrected expected output:
<g id="1"> ithway odecay </g> . exttay <g id="2"> and oldbay </g>

Original comment by Achi...@gmail.com on 9 Mar 2011 at 12:44

GoogleCodeExporter commented 9 years ago

Original comment by Achi...@gmail.com on 10 Mar 2011 at 5:08

GoogleCodeExporter commented 9 years ago
Output now:
<g id="1"> ithway odecay </g> . exttay <g id="2"> and oldbay </g>

Original comment by Achi...@gmail.com on 14 Mar 2011 at 3:09