Title: Zalomení
Author: Karolina Vyskocilova
Published: <strong>31. јул 2009.</strong>
Last modified: 25. септембар 2026.

---

Претражи додатке

![](https://ps.w.org/zalomeni/assets/banner-772x250.png?rev=3524239)

![](https://ps.w.org/zalomeni/assets/icon.svg?rev=3524239)

# Zalomení

 Аутор: [Karolina Vyskocilova](https://profiles.wordpress.org/vyskoczilova/)

[Преузми](https://downloads.wordpress.org/plugin/zalomeni.2.1.0.zip)

 * [Детаљи](https://sr.wordpress.org/plugins/zalomeni/#description)
 * [Рецензије](https://sr.wordpress.org/plugins/zalomeni/#reviews)
 *  [Постављање](https://sr.wordpress.org/plugins/zalomeni/#installation)
 * [Развој](https://sr.wordpress.org/plugins/zalomeni/#developers)

 [Подршка](https://wordpress.org/support/plugin/zalomeni/)

## Опис

Zalomení is a WordPress plugin that automatically applies Czech typographic rules
to post content, titles, comments, and widgets. It replaces ordinary spaces with
non-breaking spaces wherever Czech typography forbids a line break, so editors don’t
have to type them by hand.

Content built with Advanced Custom Fields is covered as well, including plain text
and textarea fields that themes print on their own.

Although Czech is the default, the plugin is structured around editable lists of
prepositions, conjunctions, and abbreviations — so it can be adapted to **Slovak**(
and other closely related languages) simply by adjusting those lists in the settings.

#### Maintainer

Zalomení is maintained by [Karolína Vyskočilová](https://kybernaut.cz), an independent
WordPress developer based in Czechia, who took the plugin over in 2026 and ran a
full security audit. The plugin was originally created by Honza Skýpala, whose work
is gratefully acknowledged.

#### What the plugin handles

 * **Prepositions** — single-letter prepositions like _k_, _s_, _v_, _z_ must not
   appear at the end of a line.
 * **Conjunctions** — single-letter conjunctions like _a_, _i_, _o_, _u_.
 * **Abbreviations** — common Czech abbreviations (e.g. _např._, _tj._, _tzv._).
 * **Numbers and units** — prevents breaks between a number and its unit (e.g. _5
   kg_, _10 Kč_).
 * **Number formatting** — keeps formatted numbers together (e.g. phone numbers 
   like _800 123 456_).
 * **Ordinal numbers** — prevents breaks after ordinals, especially in dates (e.
   g. _1. ledna_).
 * **Scales and ratios** — keeps expressions like _1 : 50 000_ on one line.
 * **Custom terms** — user-defined multi-word terms that should never be broken 
   across lines.

All options are configurable under **Settings  Reading**. The plugin exposes a `
zalomeni_filtry` filter so developers can add or remove the WordPress hooks Zalomení
applies to.

For more information on Czech typographic rules, see the [Institute of the Czech Language](https://prirucka.ujc.cas.cz/?id=880).

## Снимци екрана

[⌊Plugin settings⌉⌊Plugin settings⌉[

Plugin settings

[⌊Example output⌉⌊Example output⌉[

Example output

## Постављање

 1. Upload the plugin directory to `wp-content/plugins/`.
 2. Activate the plugin through the Plugins menu in WordPress.
 3. Configure options under Settings  Reading.

## ЧПП

### Is Zalomení actively maintained?

Yes. The plugin returned to active development in 2026 under maintainer [Karolína Vyskočilová](https://kybernaut.cz)(`
vyskoczilova` on WordPress.org). Issues and security fixes are addressed promptly.

### Where do I report security bugs found in this plugin?

Please report security bugs found in the source code of the Zalomení plugin through
the [Patchstack Vulnerability Disclosure  Program](https://patchstack.com/database/vdp/9e5fc6bf-7462-4a23-a890-9bf16e3d30ca).
The Patchstack team will assist you with verification, CVE assignment, and notify
the developers of this plugin.

### What changed in 2.0?

2.0 i a huge security release by a new maintainer: all user inputs are sanitized,
regex inputs are escaped, admin output is escaped, and the codebase is now covered
by PHPUnit tests. Updating is recommended for anyone still on 1.x.

### Does it work with the block editor (Gutenberg) and Classic Editor?

Yes. Zalomení runs on WordPress output filters (`the_content`, `the_title`, `the_excerpt`,
etc.), so it works regardless of which editor produced the content.

### Does it change the content stored in my database?

No. Zalomení hooks WordPress output filters, so it rewrites content on the way to
the browser only. Your posts stay exactly as you wrote them, and deactivating the
plugin removes every inserted non-breaking space.

### Can I use it for Slovak?

Yes. The default lists of prepositions, conjunctions, and abbreviations are Czech,
but they’re fully editable under Settings  Reading. Replacing the Czech entries 
with Slovak ones gives you a working Slovak typography filter without any code changes.

### Does it work with Advanced Custom Fields (ACF)?

Yes. Wysiwyg fields run through ACF’s own `acf_the_content` filter instead of `the_content`,
so the plugin hooks that one too. Text and textarea fields never pass through any
content filter — the theme prints them itself — so the plugin hooks `acf/format_value/
type=text` and `acf/format_value/type=textarea`.

Themes usually escape those values with `esc_html()`, which would turn a `&nbsp;`
entity into visible text. For that reason text and textarea fields get the non-breaking
space character (U+00A0) instead of the entity. It renders the same and survives
escaping.

### Which WordPress filters does the plugin apply to?

The plugin applies to these filters by default: `comment_author`, `term_name`, `
link_name`, `link_description`, `link_notes`, `bloginfo`, `wp_title`, `widget_title`,`
term_description`, `the_title`, `the_content`, `the_excerpt`, `comment_text`, `single_post_title`,`
list_cats`, `acf_the_content`.

Fields of Advanced Custom Fields are covered as well — see the ACF question below.

### Can I disable the plugin for specific filters?

Yes. Use the `zalomeni_filtry` filter to remove or add filters:

    ```
    add_filter('zalomeni_filtry', 'remove_title_from_zalomeni');
    function remove_title_from_zalomeni(array $filters) {
      unset($filters['the_title']);
      return $filters;
    }
    ```

The ACF field filters have their own list, `zalomeni_acf_filtry`, which works the
same way:

    ```
    add_filter('zalomeni_acf_filtry', 'remove_acf_textarea_from_zalomeni');
    function remove_acf_textarea_from_zalomeni(array $filters) {
      unset($filters['acf/format_value/type=textarea']);
      return $filters;
    }
    ```

## Рецензије

![](https://secure.gravatar.com/avatar/c6d6b50c07c10c1bceb4be521f97369a00e82b7785374c29e327e861e39de144?
s=60&d=retro&r=g)

### 󠀁[Skvělý a nepostradatelný pomocník](https://wordpress.org/support/topic/skvely-a-nepostradatelny-pomocnik/)󠁿

 [jukop](https://profiles.wordpress.org/jukop/) 14. август 2026. 1 одговор

Zalomení je přesně ten typ pluginu, o kterém po instalaci prakticky nevíte, ale 
na výsledném vzhledu webu je jeho přínos znát. Pokud vám záleží na detailech a chcete,
aby texty na webu vypadaly čistě a typograficky správně, je plugin Zalomení podle
mě téměř povinnou výbavou.

![](https://secure.gravatar.com/avatar/36b8667d2e3be1056b39271a43d6fbfbd1cae0f2bfe3e3dda534c91e2e1608ae?
s=60&d=retro&r=g)

### 󠀁[Usefull and working](https://wordpress.org/support/topic/usefull-and-working/)󠁿

 [waaky](https://profiles.wordpress.org/waaky/) 24. фебруар 2024.

Good! wp

![](https://secure.gravatar.com/avatar/7e83b0e208a84c20388096cc9f45b7973587f29e262757e412092373334b5a6a?
s=60&d=retro&r=g)

### 󠀁[Typografická úchylka](https://wordpress.org/support/topic/typograficka-uchylka/)󠁿

 [jakubkasparek](https://profiles.wordpress.org/jakubkasparek/) 20. фебруар 2020.

Typografická úchylka

![](https://secure.gravatar.com/avatar/f09f3e08df4a1ea26fd6fa99d898391358ebdf23da7f1a74b1ee036e72285c60?
s=60&d=retro&r=g)

### 󠀁[Super](https://wordpress.org/support/topic/super-747/)󠁿

 [marbencz](https://profiles.wordpress.org/marbencz/) 25. март 2017.

Very simple and useful for Czech sites.

![](https://secure.gravatar.com/avatar/a208ee2b9261bc8f16a48af40528d0e3fca67369fc8e519a49298deba42a2385?
s=60&d=retro&r=g)

### 󠀁[Funguje](https://wordpress.org/support/topic/funguje-2/)󠁿

 [kotaraoriginal](https://profiles.wordpress.org/kotaraoriginal/) 8. фебруар 2017.

Rychlé a bez problémů.

![](https://secure.gravatar.com/avatar/e31a2ba53bb6063f941c6688d79b6dae6701a6af02c76bde4383f147a17d8685?
s=60&d=retro&r=g)

### 󠀁[Skvěle šetří práci](https://wordpress.org/support/topic/skvele-setri-praci/)󠁿

 [kudlav](https://profiles.wordpress.org/kudlav/) 31. јануар 2017.

Skvělý plugin díky kterému můžete rovnou psát a nemyslet na nedělitelné mezery.

 [ Прочитај свих 15 рецензија ](https://wordpress.org/support/plugin/zalomeni/reviews/)

## Сарадници и градитељи

„Zalomení“ је софтвер отвореног кода. Следећи људи су допринели овом додатку.

Сарадници

 *   [ Karolina Vyskocilova ](https://profiles.wordpress.org/vyskoczilova/)
 *   [ honza.skypala ](https://profiles.wordpress.org/honzaskypala/)

„Zalomení“ је преведен на 1 језик. Хвала [преводиоцима](https://translate.wordpress.org/projects/wp-plugins/zalomeni/contributors)
на њиховим доприносима.

[Преведите „Zalomení“ на свој језик.](https://translate.wordpress.org/projects/wp-plugins/zalomeni)

### Заинтересовани сте за развој?

[Прегледајте кôд](https://plugins.trac.wordpress.org/browser/zalomeni/), погледајте
[SVN складиште](https://plugins.svn.wordpress.org/zalomeni/) или се претплатите 
на [дневник развоја](https://plugins.trac.wordpress.org/log/zalomeni/) преко [RSS-а](https://plugins.trac.wordpress.org/log/zalomeni/?limit=100&mode=stop_on_copy&format=rss).

## Дневник измена

#### 2.1.0 (2026-09-25)

 * New: fields of Advanced Custom Fields are handled too — wysiwyg fields through`
   acf_the_content`, text and textarea fields through `acf/format_value`
 * New: `zalomeni_acf_filtry` filter to change the list of ACF filters the plugin
   hooks
 * Text and textarea fields get the non-breaking space character instead of the `&
   nbsp;` entity, so it survives escaping in the theme

#### 2.0.1 (2026-08-14)

 * Fix: no longer inserts a non-breaking space after an apostrophe entity, so English
   possessives like „America’s Response“ are left alone (reported by Juraj Kopčan)
 * Fix: prepositions at the very start of a paragraph now get a non-breaking space(
   the leading-boundary anchor never matched)

#### 2.0.0 (2026-05-06)

 * New maintainer: Karolína Vyskočilová (vyskoczilova)
 * Security: added sanitize callbacks to all register_setting calls
 * Security: escaped regex metacharacters in user-defined option lists (preg_quote)
 * Security: added preg_replace error handling to prevent null output
 * Security: filtered empty list items to prevent catch-all regex patterns
 * Security: escaped custom terms to prevent regex injection while preserving \d,\
   w, \s
 * Security: added output escaping (esc_attr, esc_js, esc_textarea) in admin settings
 * Security: replaced dynamic constant() calls with static lookup array
 * Security: inlined WP-private _wptexturize_pushpop_element function
 * Security: added direct file access guard
 * Improvement: added uninstall.php for clean option removal
 * Improvement: license changed from WTFPL to GPL-2.0-or-later
 * Improvement: all admin strings are now translatable via wp i18n make-pot
 * Improvement: lazy-load plugin.php only on admin pages
 * Improvement: guarded pre-1.3 migration against missing options
 * Improvement: strict comparisons and PHP 8+ compatibility throughout
 * Improvement: updated minimum requirements to WordPress 6.0 and PHP 7.0

#### 1.5

 * bug fix: kompatibilita s PHP 8+

#### 1.4.7

 * bug fix: ošetřeny strict standards v nastavení pluginu

#### 1.4.6

 * bug fix: plugin identifikoval a zpracovával prázdné řetězce jako HTML tagy, což
   generovalo PHP notice při zapnutém logování; ošetřeno

#### 1.4.5

 * bug fix: zalomení mezi číslem a jednotkou nefungovalo na konci řádku, resp. pokud
   následovala uzavírací závorka

#### 1.4.4

 * bug fix

#### 1.4.3

 * Ošetřen stav, kdy nejsou v databázi z nějakého důvodu uložena nastavení, v tomto
   případě se nyní použije výchozí nastavení. (uživatelům se chyba projevovala tak,
   že nastavení se zobrazovalo bez jakýchkoliv popisků, nešlo uložit a plug-in nefungoval)

#### 1.4.2

 * Zlepšena kompatibilita s utf8 (díky Pavel Krejčí)

#### 1.4.1

 * Kontrola při aktivaci pluginu na PHP verze 5.3 nebo vyšší
 * Drobné optimalizace

#### 1.4

 * Zalomení po řadové číslovce nyní podporuje číslovku jako navazující slovo; takto
   je zajištěno nezalomení např. u data zapsaného ve formátu 1. 1. 2014
 * Nová funkcionalita: zabránění zalomení mezi číslovkou a jednotkou nebo měnou (
   např. 1 m, 5 kg, 50 Kč)
 * Nová funkcionalita: zabránění zalomení v měřítkách a poměrech (např. 1 : 1000)
 * Vlastní filtr _zalomeni\_filtry_ — umožňuje odebrat nebo přidat filtry, na které
   se Zalomení aplikuje
 * Drobné optimalizace

#### 1.3

 * Změna licence
 * Změna ukládání nastavení (interní; původně pole proměnných, nyní jednotlivé proměnné
   samostatně, snad to vyřeší problémy některých uživatelů s ukládáním nastavení)
 * Nová funkcionalita: zabránění zalomení po řadové číslovce (včetně data, např.
   1. ledna)
 * Nová funkcionalita: uživatelsky definované termíny, které nesmějí být zalomeny
 * Screenshoty přesunuty do adresáře assets, aby se zbytečně nestahovaly uživatelům
   do jejich instalací WordPressu
 * Plug-in předělán na PHP třídu, pro lepší izolaci a přehlednost
 * WordPress již nevolá activation-hook při aktualizaci pluginu na novou verzi; 
   aktualizace testována a volána v rámci admin_init()

#### 1.2.4

 * Dvojité volání nahrazovací funkce, plugin nefungoval pro dvě příslušná slova 
   nacházející se za sebou (např. pokud by byly zapnuty pevné mezery za předložkami
   i za spojkami, pak ve výrazu „a s někým“ by došlo k nahrazení mezery za „a“, 
   ale již ne za „s“)
 * Nastavení pluginu přemístěno na stránku Nastavení->Zobrazování, je zbytečné, 
   aby měl plugin celou vlastní stránku s nastavením

#### 1.2.3

 * Opraveno volání funkce add_options_page tak, aby nepoužívalo již nepodporovaný
   formát.

#### 1.2.2

 * Opravena chyba v konfiguraci.

#### 1.2.1

 * Opravena chyba v HTML kódu konfigurace pluginu.

#### 1.2

 * Kompatibilita s WordPress 2.9

#### 1.1

 * Nyní umí vložit pevnou mezeru také za předložku (či jiné slovo), které se nachází
   na následujících pozicích: první slovo za otevírací závorkou, první slovo po 
   nějakém tagu (např tag pro zapnutí italiky či tučného písma), na začátku odstavce.
 * Rozšířen výchozí seznam zkratek, za něž se vkládá mezera
 * Nahrazuje mezery v číslech za pevné mezery (např. v telefonním čísle zapsaném
   jako 800 123 456 nahradí mezery za pevné mezery, aby nebylo číslo rozděleno zalomením
   řádku).
 * Interně přepsáno, již nevyužívá stávající filter wptexturize(), ale přidává vlastní
   filtr.

#### 1.0

 * Почетно издање.

## Мета

 *  Издање **2.1.0**
 *  Последње ажурирање **пре 2 седмице**
 *  Активних постављања **6.000+**
 *  Издање Вордпреса ** 6.0 или новије **
 *  Испробано до **7.1.3**
 *  PHP издање ** 7.0 или новије **
 *  Језици
 * [Czech](https://cs.wordpress.org/plugins/zalomeni/) и [English (US)](https://wordpress.org/plugins/zalomeni/).
 *  [Преведите на свој језик](https://translate.wordpress.org/projects/wp-plugins/zalomeni)
 * Ознаке
 * [Czech](https://sr.wordpress.org/plugins/tags/czech/)[slovak](https://sr.wordpress.org/plugins/tags/slovak/)
   [space](https://sr.wordpress.org/plugins/tags/space/)[typography](https://sr.wordpress.org/plugins/tags/typography/)
 *  [Напредни преглед](https://sr.wordpress.org/plugins/zalomeni/advanced/)

## Оцене

 5 од 5 звездица.

 *  [  15 рецензија са 5 звездица     ](https://wordpress.org/support/plugin/zalomeni/reviews/?filter=5)
 *  [  0 рецензија са 4 звездица     ](https://wordpress.org/support/plugin/zalomeni/reviews/?filter=4)
 *  [  0 рецензија са 3 звездица     ](https://wordpress.org/support/plugin/zalomeni/reviews/?filter=3)
 *  [  0 рецензија са 2 звездица     ](https://wordpress.org/support/plugin/zalomeni/reviews/?filter=2)
 *  [  0 рецензија са 1 звездица     ](https://wordpress.org/support/plugin/zalomeni/reviews/?filter=1)

[Ваша рецензија](https://wordpress.org/support/plugin/zalomeni/reviews/#new-post)

[Види све рецензије](https://wordpress.org/support/plugin/zalomeni/reviews/)

## Сарадници

 *   [ Karolina Vyskocilova ](https://profiles.wordpress.org/vyskoczilova/)
 *   [ honza.skypala ](https://profiles.wordpress.org/honzaskypala/)

## Подршка

Имате нешто да кажете? Потребна вам је помоћ?

 [Види форум подршке](https://wordpress.org/support/plugin/zalomeni/)