Përshkrim
A minimalist plugin that automatically inserts non-breaking spaces (NBSP) after selected words and abbreviations. It helps prevent awkward line breaks (for example, single-letter prepositions in Czech and Slovak). Works with most popular page builders as well.
It automatically inserts non-breaking spaces (NBSP) after selected words or abbreviations to prevent unwanted line breaks. This is especially important in languages where short words (such as single-letter prepositions or conjunctions) should never appear alone at the end of a line.
Unlike many traditional solutions that only work with the_content(),Speedx Smart Line Breaks modifies text directly on the frontend. This means it also works reliably with content generated by popular page builders such as Elementor, Divi, Bricks Builder, Kadence, Gutenberg, Classic Editor, and others.
The plugin has been tested on large content-driven websites, where performance and reliability matter.
Simple setup, powerful control
After activation, the plugin already covers the most common Czech and Slovak typography rules.
You can easily extend or customize the behavior by adding your own words or abbreviations in the settings.
Just enter words separated by commas, spaces, or new lines — Speedx Smart Line Breaks will make sure those words stay connected to the following text.
This makes it ideal for:
– Single-letter prepositions and conjunctions
– Abbreviations
– Titles (Dr., Prof., etc.)
– Numbers and units
– Scales and measurements
– Custom language-specific rules
– Examples of language-specific rules
🇨🇿 Czech / 🇸🇰 Slovak
k, s, v, z, o, u, a, i, či, nebo, ale
🇩🇪 German
Dr., Prof., z. B., u. a.
🇷🇺 Russian
в, к, с, о
🇮🇹 Italian
a, e, o
Speedx Smart Line Breaks is not limited to Czech or Slovak. Many languages have their own typographic conventions, and this plugin gives you full control to define your own rules.
Features
- Works with common builders (e.g. Elementor, Divi, Bricks, Gutenberg, Classic Editor, and more).
- Simple setup – one field with a list of rules.
- Minimal overhead – modifies only text nodes on the frontend.
Instalim
- Upload the plugin files to
/wp-content/plugins/speedx-smart-line-breaks/or install the plugin via the WordPress Plugins screen. - Activate the plugin through the “Plugins” screen.
- Go to Settings Speedx Smart Line Breaks and adjust the list of words/abbreviations.
PBR
-
Does it work with page builders?
-
Yes. The plugin adjusts text on the frontend using JavaScript, so it is generally compatible with most builders and output methods.
-
How does it work?
-
A non-breaking space (NBSP) is inserted after selected words/abbreviations. The browser then keeps the selected item together with the following word and prevents a line break between them.
-
Will it slow down my site?
-
In normal use the impact is minimal. The script runs once after the page loads and modifies text nodes only.
-
Is it compatible with cache plugins?
-
Yes. The modification happens in the visitor’s browser, so caching does not affect it.
Shqyrtime
Për këtë shtojcë s’ka shqyrtime.
Kontribues & Zhvillues
“Speedx Smart Line Breaks” është software me burim të hapur. Në këtë shtojcë kanë dhënë ndihmesë personat vijues.
KontribuesPërkthejeni “Speedx Smart Line Breaks” në gjuhën tuaj.
Ju intereson zhvillimi?
Shfletoni kodin, shkarkoni depon SVN, ose pajtohuni përmes RSS-je te regjistri i zhvillimeve.
Regjistër ndryshimesh
= 1.5.3
* Renamed the plugin and refactored all related variables, functions, and script handles.
* Removed the name “FlowKeeper” due to a potential trademark conflict.
* Updated the plugin slug to: speedx-smart-line-breaks.
* Added default value to the plugin settings label.
= 1.4.7
* Added Unicode-aware word boundary detection to the JavaScript parser.
* Added normalization and regulation of non-breaking spaces loaded from content.
* Improved non-breaking space normalization with detection of consecutive spaces.
* Added a dedicated constant to manage the JavaScript version.
* JS optimization: processing is now applied only to text nodes longer than 3 characters.
* JS optimization: replace operation is skipped if the text does not contain a space.
* JS execution moved to run after DOM is fully loaded.
= 1.3.3
* Removed the load_plugin_textdomain() call (handled automatically by WordPress).
* Corrected plugin slug from flowkeeper-smart-line-breaks to speedx-flow-keeper-smart-line-breaks.
* Refactored JavaScript implementation: replaced nowdoc inline script with an external file enqueued via wp_enqueue_script().
1.2.6
- Added a Settings link on the Plugins page.
- Improved translations.
- Sanitization improvements and code cleanup.
1.1.1
- Initial release.
