diff --git a/core-bundle/src/Resources/contao/library/Contao/StringUtil.php b/core-bundle/src/Resources/contao/library/Contao/StringUtil.php index d01d0d6857c..06db6519bc6 100644 --- a/core-bundle/src/Resources/contao/library/Contao/StringUtil.php +++ b/core-bundle/src/Resources/contao/library/Contao/StringUtil.php @@ -219,12 +219,12 @@ public static function substrHtml($strString, $intNumberOfChars) * Decode all entities * * @param string $strString The string to decode - * @param integer $strQuoteStyle The quote style (defaults to ENT_COMPAT) + * @param integer $strQuoteStyle The quote style (defaults to ENT_QUOTES) * @param string $strCharset An optional charset * * @return string The decoded string */ - public static function decodeEntities($strString, $strQuoteStyle=ENT_COMPAT, $strCharset=null) + public static function decodeEntities($strString, $strQuoteStyle=ENT_QUOTES, $strCharset=null) { if ((string) $strString === '') {