JSM Non-Breaking Space (nbsp) for French Content

July 16, 2024

JSM Non-Breaking Space (nbsp) for French Content Plugin

Adds a non-breaking space between (nbsp) words and punctuation marks to avoid inappropriate line-breaks in French.

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.

Changelog

Version Numbering

Version components: {major}.{minor}.{bugfix}[-{stage}.{level}]

  • {major} = Major structural code changes and/or incompatible API changes (ie. breaking changes).
  • {minor} = New functionality was added or improved in a backwards-compatible manner.
  • {bugfix} = Backwards-compatible bug fixes or small improvements.
  • {stage}.{level} = Pre-production release: dev < a (alpha) < b (beta) < rc (release candidate).

Repositories

Changelog / Release Notes

Version 1.13.1 (2023/11/19)

  • New Features
    • None.
  • Improvements
    • Added check for empty $html argument.
  • Bugfixes
    • None.
  • Developer Notes
    • None.
  • Requires At Least
    • PHP v7.2.34.
    • WordPress v5.8.

Details

  • Version: 1.13.1
  • Active installations: 1,000
  • WordPress Version: 5.8
  • Tested up to: 6.6.1
  • PHP Version: 7.2.34

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars