Introduction
NBSP Filter helps handling characters in your contents. Its main purpose is to avoid punctuation marks to break alone on a newline for languages where it has to have a space before or after. For instance in french:
In french, there is a space : before double-points or exclamation marks !
NBSP Filter is a WYSIWYG filter you can add on your text formats. It will provide configurations for the following actions:
- Remove all useless that might be inserted in your contents (similarly to No Non-breaking Space Filter module)
- Converts space before configured punctuations to non-breaking spaces.
- Converts space after configured punctuations to non-breaking spaces.
Requirements
No special requirements.
Installation
Install as you would normally install a contributed Drupal module. See: https://www.drupal.org/node/895232 for further information.
Configuration
- Configure the NBSPFilter for each for the desired text formats at (/admin/config/content/formats).
- Enable the filter
- Review defaults configurations and change if necessary
- Save the text format
Maintainers
- Dominique CLAUSE (Dom) - https://www.drupal.org/u/Dom
Supporting organizations:
Project information
- Module categories: Content Editing Experience
- 131 sites report using this module
- Created by Dom. on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
1.0.1
released 16 April 2023
Works with Drupal: ^8 || ^9 || ^10
✓ Recommended by the project’s maintainer.
Install: