Decode quote entities #45

This commit is contained in:
grandeljay 2022-11-02 16:49:09 +01:00
parent 006fd0ce81
commit fb7b4dc853

View file

@ -6,7 +6,7 @@ class Sanitiser
{
public static function render(string $text): string
{
return html_entity_decode($text, ENT_HTML5);
return html_entity_decode($text, ENT_HTML5 | ENT_QUOTES);
}
public static function getNumber(mixed $valueToSanitise): float