Skip to content

Commit

Permalink
Add zwsp (#1445)
Browse files Browse the repository at this point in the history
  • Loading branch information
zonky2 authored Oct 24, 2024
1 parent 49111af commit eab6b7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/manual/article-management/insert-tags.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ Folgende »Basic Enities« werden von Contao in die jeweiligen HTML Entities zur
| `[gt]` | `>` = greater than (`>`) |
| `[nbsp]` | `&nbsp;` = non-breaking space<br>Wenn der Umbruch zwischen zwei Wörtern verhindert werden soll, muss ein geschütztes Leerzeichen eingefügt werden (z. B. `Contao[nbsp]CMS`). |
| `[-]` | `&shy;` = soft hyphen<br>Das Wort wird umgebrochen, wenn nicht ausreichend Platz zur Verfügung steht. Die Trennung erfolgt mit Trennstrich (z. B. `Donau[-]dampf[-]schiff[-]fahrts[-]gesell[-]schaft`). |
| `[zwsp]` | {{< version-tag "5.3" >}} `&ZeroWidthSpace;` = zero-width space<br>breitenlose Leerzeichen - auch nullbreites Leerzeichen; siehe [Wikipedia](https://de.wikipedia.org/wiki/Breitenloses_Leerzeichen) |
| `[{]`, `[}]` | Wird im Frontend jeweils mit `{{` bzw. `}}` ersetzt. Damit kann man Insert-Tags im Frontend anzeigen, um sie z. B. zu erklären. |

{{% notice "info" %}}
Expand Down
1 change: 1 addition & 0 deletions docs/manual/article-management/insert-tags.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ The following "basic entities" are converted back into the respective HTML entit
| `[gt]` | `&gt;` = greater than (`>`) |
| `[nbsp]` | `&nbsp;` = non-breaking space. If you want to prevent the break between two words, a protected space must be inserted (e.g. `Contao[nbsp]CMS`). |
| `[-]` | `&shy;` = soft hyphen. The word is wrapped if there is not enough space. The separation is done with a hyphen, e.g. if you want to separate the typical German compound words like `Donau[-]dampf[-]schiff[-]fahrts[-]gesell[-]schaft` |
| `[zwsp]` | {{< version-tag "5.3" >}} `&ZeroWidthSpace;` = zero-width space. Separates characters without visually separating them - see [Wikipedia](https://en.wikipedia.org/wiki/Zero-width_space) |
| `[{]`, `[}]` | Replaced in the front end with `{{` or `}}`, respectively. This enables you to display insert tags in the front end. For example, to explain them. |

{{% notice "info" %}}
Expand Down

0 comments on commit eab6b7e

Please sign in to comment.