Update functions.php
This commit is contained in:
parent
0296c3eaea
commit
bc6460d6ab
|
@ -2680,7 +2680,7 @@ function defined_flags_accumulate($desired_flags) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function utf8tohtml($utf8) {
|
function utf8tohtml($utf8) {
|
||||||
$flags = defined_flags_accumulate(['ENT_QUOTES', 'ENT_SUBSTITUTE', 'ENT_DISALLOWED']);
|
$flags = defined_flags_accumulate(['ENT_NOQUOTES', 'ENT_SUBSTITUTE', 'ENT_DISALLOWED']);
|
||||||
return htmlspecialchars($utf8, $flags, 'UTF-8');
|
return htmlspecialchars($utf8, $flags, 'UTF-8');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user