Hello here,
In fact, the nbsp space should not used before all punctuation signs concerned by the settings of this module. Indeed, it exist the “Espace fine insécable” that should add before some double punctuations signs like “!” “?” and “;” (so, not the double point, that need a nbsp).
All the details are here: https://fr.wikipedia.org/wiki/Espace_fine_ins%C3%A9cable
Sure, it concerns the french language in France. In Quebec, they don't use the thin unbreakable space.
At this moment, I use the & #8239; (without the space) to produce the thin unbreakable space, but in CodeMirror (for Ckeditor) the html entity is switched to a space (just visually) so I can not see if all are add in the code.
Sure, your module could do the job well if you implement this second rule for text filter.
Regards.
Active
1.0
Code