Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Drupal 10.6.17 Update released for Drupal core (10.6.17)! Release: Drupal 11.3.17 Update released for Drupal core (11.3.17)! Release: Drupal 11.4.7 Update released for Drupal core (11.4.7)! Release: CKEditor 5 Plugin Pack 1.5.5 Minor update available for module ckeditor5_plugin_pack (1.5.5). Release: CKEditor 5 Premium Features 1.8.4 Minor update available for module ckeditor5_premium_features (1.8.4). Release: AI (Artificial Intelligence) 1.3.14 Minor update available for module ai (1.3.14). Release: AI (Artificial Intelligence) 1.4.9 Minor update available for module ai (1.4.9). Release: Modeler API 1.1.7 Minor update available for module modeler_api (1.1.7). Usage Milestone: Easy Email Module easy_email crossed 10,000 active installs. Module Revived: Commerce Stripe 2.2.2 Module commerce_stripe updated after 6 months of inactivity (2.2.2).

Hanging Conjunctions Filter

28 sites Security covered Drupal 8–11
View on drupal.org

This module provides a text filter to automatically correct Polish typographical errors by moving single-letter conjunctions and prepositions from the end of one line to the beginning of the next. It adds non-breaking spaces where needed and can be extended to support other languages.

Dangling conjunctions, also known as orphans, are a typographical error in the Polish language. They are single-letter words left at the end of a line. This rule applies to, for example, conjunctions and prepositions.

Functionality

This module provides a text filter that moves dangling conjunctions from the end of each line. It automatically adds a non-breaking space to the text where necessary. This module skip ignore tags (a, script, style, code, pre) and does not process attributes.

By default this filter is only for Polish language. It contains its own set of words. Allows to add terms for any languages (API and extending a module).

Configuration

  1. Go to 'Text formats and editors' on the page '/admin/config/content/formats'.
  2. Add a new text format or edit an existing one.
  3. In the chosen text format, select the 'Hanging Conjunctions Filter' option.
  4. Change its order on the list, it should be after other filters that need to be processed before, e.g. 'Correct faulty and chopped off HTML'.
  5. Click on the 'Save configuration' button.

Description in Polish

Wiszące spójniki znane również jako sierotki to jeden z błędów typografi języka polskiego. Polega na pozostawieniu na końcu wiersza jednoliterowych wyrazów. Dotyczy między innymi spójników i przyimków.

Moduł ten zapewnia filtr tekstu przenoszący wiszące spójniki z końca linii. Zawiera własny zestaw wyrazów. Automatycznie dodaje niełamliwą spację   w odpowiednich miejscach tekstu.

Depends on

Dependencies of the latest stable release

  • filter Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Jun 2026
Latest release
2 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
8.x-1.7 Stable 8–11 Jun 18, 2026