mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-12 01:50:48 +01:00
Update functions.php
This commit is contained in:
parent
bee2d07499
commit
fb8f1d04d0
@ -2303,7 +2303,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