JSM's Non-Breaking Space for French Content

View the Project on GitHub jsmoriss/nbsp-french

JSM Non-Breaking Space (nbsp) for French Content

Plugin NameJSM Non-Breaking Space (nbsp) for French Content
SummaryAdds a non-breaking space between (nbsp) words and punctuation marks to avoid inappropriate line-breaks in French.
Stable Version1.13.0
Requires PHP7.2.34 or newer
Requires WordPress5.5 or newer
Tested Up To WordPress6.3.1
Tags / Keywordsnbsp; non-breaking, french, content, line-break, punctuation


This plugin converts spaces to HTML non-breaking space entities (ie.  ) in the content, excerpt, comments, text widget, and WooCommerce short description as required by French language punctuation rules.

If the <!--:fr--> HTML tag is found (used by some multilingual plugins), non-breaking spaces are added only between the <!--:fr--> and <!--:--> HTML tags.

There are no plugin settings - simply install and activate the plugin.