Download the PHP package andersundsehr/shy-converter without Composer
On this page you can find all versions of the php package andersundsehr/shy-converter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download andersundsehr/shy-converter
More information about andersundsehr/shy-converter
Files in andersundsehr/shy-converter
Package shy-converter
Short Description Converts HTML soft hyphens and non-breaking spaces to their UTF-8 equivalents and includes a database migration for existing data.
License GPL-2.0-or-later
Informations about the package shy-converter
shy-converter
This extension converts HTML soft hyphens (­ and the malformed ­) and non-breaking spaces ( ) to their UTF-8 equivalents. It includes a database migration to update existing data.
Installation
Install the extension in a TYPO3 13.4 or 14 project:
Optionally migrate existing values after reviewing the affected records:
Visible special characters in backend input fields
Plain TCA input fields without an explicit renderType automatically use the
visibleShy render type. Stored UTF-8 soft hyphens (U+00AD) and non-breaking
spaces (U+00A0) are displayed as the visible strings ­ and  ,
so editors can find, add, or remove them.
The render type uses TYPO3's hidden input for the persisted value. Its backend
JavaScript converts ­ and the malformed variant &shy to U+00AD, and
  to U+00A0, while editors type and immediately before the form is
submitted. Literal entity-like text is displayed with an & prefix and
stored unchanged, matching TYPO3's Visual Editor behavior. The original hidden
value remains untouched until the JavaScript is initialized, preventing an
unconverted visible value from being submitted if initialization fails.
The conversion is intentionally scoped to forms rendered with visibleShy.
Direct or programmatic DataHandler calls are not modified. Input fields with
another explicit render type and fields inside FlexForms are not changed
automatically.
The render type can also be assigned explicitly: