[pmwiki-users-fr] Question about inserting "&nsbp" in html output for better typography
ABClf
languefrancaise at gmail.com
Ven 18 Juil 17:29:26 PDT 2025
I forgot to say I'm testing a javascript code for this task which
might be the way to go for this kind of cosmetic thing.
Le sam. 19 juil. 2025 à 01:47, ABClf <languefrancaise at gmail.com> a écrit :
>
> 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