This documentation is incomplete
Namespace: HeimrichHannot\Haste\Util
Converts german umlauts an the ß character to webconform characters. The method can be used static.
StringUtil::convertGermanSpecialLetters(string $str): string
The string, where "ä", "ö", "ü", "ß", "Ä", "Ö", "Ü" is replaced with "ae", "oe", "ue", "ss", "Ae", "Oe", "Ue"
Convert new line or br with
tags
StringUtil::nl2p(mixed $text): string
Converts non XML Entities in XML Strings to compatible entities.
StringUtil::replaceNonXmlEntities(string $str): string
The string where
and —
are replace with  
or —
.