Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

NBSP Filter

Security covered Under active development 251 sites

This module helps prevent punctuation marks from appearing alone on a new line. It can remove unnecessary non-breaking spaces and convert regular spaces before or after specific punctuation marks into non-breaking spaces, ensuring proper typographical spacing for various languages.

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

Drupal 8–11

Ask your assistant about NBSP Filter

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Apr 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Active

Releases

Version Type Core PHP Release date
1.1.0 Stable 8–11 Oct 8, 2024
1.0.1 Stable 8–10 Apr 16, 2023