Last modified: 2011-03-13 18:06:25 UTC
The no-break space added before french punctuation symbols like ";", "!" or ":" is wrong. It should be one fourth of an em wide (see the french page about punctuation : http://fr.wikipedia.org/wiki/Ponctuation#Signes_de_ponctuation_occidentaux ).
Since the HTML entity doesn't look well supported, I suggest we replace the actual " " with "<span style="font-size: 0.25em;"> </span>".
Created attachment 3756 [details]
spaces in front of punctuation replaced with a no-break space surrounded with a span with a font size of 0.25em
Created attachment 3784 [details]
Same fix as extension
If you'd rather move this behavior to an extension, here's the code.
Created attachment 3785 [details]
Removes french typo
And here's the patch to remove the behavior from the core.
This would be far too fragile, producing invalid output where text appears eg inside HTML attribute values.
Doesn't really seem worth the effort, given that normal-sized spaces are being used to begin with.