Bug #3438
Mis à jour par Serge Heiden il y a environ 2 ans
We need to better manage the spaces blanks between words to handle the following XML code:
<pre>
<w>A</w><ref target="..."><w>B</w></ref>
</pre>
Gives the following HTML code:
<pre>
<span>span</w><a href="..."> <span>B</span></a>
</pre>
A space The blank is inserted by the pager when writing the B word.
This causes the <a> content to contain the space which produces the bad rendering be " ...". ..." and to be miss rendered
h3. Solution
* Insert a space blank before the <a> element
* don't insert a space one before a word if one has already been inserted
<pre>
<w>A</w><ref target="..."><w>B</w></ref>
</pre>
Gives the following HTML code:
<pre>
<span>span</w><a href="..."> <span>B</span></a>
</pre>
A space The blank is inserted by the pager when writing the B word.
This causes the <a> content to contain the space which produces the bad rendering be " ...". ..." and to be miss rendered
h3. Solution
* Insert a space blank before the <a> element
* don't insert a space one before a word if one has already been inserted