Decode quote entities #45
This commit is contained in:
parent
006fd0ce81
commit
fb7b4dc853
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ class Sanitiser
|
||||||
{
|
{
|
||||||
public static function render(string $text): string
|
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
|
public static function getNumber(mixed $valueToSanitise): float
|
||||||
|
|
Loading…
Reference in a new issue