Bug #3438

XTZ, pager, better interword spaces management

Added by Matthieu Decorde 2 months ago. Updated 2 months ago.

Status:New Start date:09/21/2023
Priority:Normal Due date:
Assignee:- % Done:


Category:Import Spent time: -
Target version:TXM 0.8.4


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 " ...".


  • Insert a space before the <a> element
  • don't insert a space before a word if one has already been inserted


#1 Updated by Serge Heiden 2 months ago

  • Subject changed from XTZ, pager, better blank management to XTZ, pager, better interword spaces management
  • Description updated (diff)

Also available in: Atom PDF