#50449PHP-functionality instead of GeneralUtility::deHSCentities
Description
htmlentities / htmlspecialchars since PHP 5.2.3 provide a parameter to prevent double-encoding of entities. Use that instead of applying deHSCentities() on the result.
Currently done like:
GeneralUtility::deHSCentities(htmlspecialchars($label))