diff --git a/src/classes/sanitiser.php b/src/classes/sanitiser.php index 3ebd1542..57fbd380 100644 --- a/src/classes/sanitiser.php +++ b/src/classes/sanitiser.php @@ -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