Fix html entities not fully decoding

This commit is contained in:
grandeljay 2022-10-09 15:18:45 +02:00
parent 33b807764b
commit 6689a06e37

View file

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