Bug #3438
XTZ, pager, better interword spaces management
Statut: | New | Début: | 21/09/2023 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 0% |
|
Catégorie: | Import | Temps passé: | - | |
Version cible: | TXM 0.8.4 |
Description
We need to better manage the spaces between words to handle the following XML code:
<w>A</w><ref target="..."><w>B</w></ref>
Gives the following HTML code:
<span>span</w><a href="..."> <span>B</span></a>
A space is inserted by the pager when writing the B word.
This causes the <a> content to contain the space which produces the bad rendering " ...".
Solution¶
- Insert a space before the <a> element
- don't insert a space before a word if one has already been inserted
Historique
#1 Mis à jour par Serge Heiden il y a environ 2 ans
- Sujet changé de XTZ, pager, better blank management à XTZ, pager, better interword spaces management
- Description mis à jour (diff)