prevent returning html entities in sanitizeProblemChars helper

This commit is contained in:
Harald Bamberger
2024-01-25 12:44:20 +01:00
parent 70303dbec6
commit cf40f33fc6
+2 -1
View File
@@ -356,7 +356,8 @@ function sanitizeProblemChars($str)
'ss' => '/ß/'
);
return preg_replace($acentos, array_keys($acentos), htmlentities($str, ENT_NOQUOTES | ENT_HTML5, $enc));
$tmp = preg_replace($acentos, array_keys($acentos), htmlentities($str, ENT_NOQUOTES | ENT_HTML5, $enc));
return html_entity_decode($tmp, ENT_NOQUOTES | ENT_HTML5, $enc);
}
/**