Why store as <shy>&nbsp;</shy> instead of &shy; ?

Created on 8 August 2025, 2 months ago

Problem/Motivation

The soft hyphen is stored as   in the database, which is not a valid HTML element.

This means that using the data via JSON API, or after uninstalling this module all elements are skipped and only the space is recognized, resulting in spaces instead of the soft hyphen.

Can't the soft hyphen be stored as a valid ­ instead?

Proposed resolution

Store it as ­ in the database.

Remaining tasks

TBD

API changes

TBD

Data model changes

TBD

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇧🇪Belgium tijsdeboeck Antwerp 🇧🇪 🇪🇺 🌎

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024