[pmwiki-users-fr] Question about inserting "&nsbp" in html output for better typography

ABClf languefrancaise at gmail.com
Ven 18 Juil 16:47:41 PDT 2025


Hello,

I would like to know what would be the strategy to use for inserting
non breakable space in the text produced by pmwiki.
My AI supported attempts are not a success by now... Maybe because I
don't know when the transformation rules should happen ?

In French language, non breaking space is expected
before ! ; : ?
after and before «  » ;

Also, in my case, I do use other signs I would like to attach to the
term they are connected to (example with letter "x" to show the
desired non breakable space replacement)
chaud ⟦x□xdemander chaudx; □xcoûter chaudx⟧

I can not see if it's tricky to code or quite simple with custom markup.

Last, I'm not sure I want these insertions saved in my text ; it might
be better to ask pmwiki to do the transformation every time the page
is requested.

Thank you,
Gilles.



Plus d'informations sur la liste de diffusion pmwiki-users-fr