diff --git a/src/classes/sanitiser.php b/src/classes/sanitiser.php index 57fbd380..313faf1b 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, ENT_HTML5); + return html_entity_decode($text, ENT_HTML5 | ENT_QUOTES); } public static function getNumber(mixed $valueToSanitise): float