1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-23 23:20:57 +01:00

Update functions.php

This commit is contained in:
RealAngeleno 2023-08-02 18:04:49 -07:00 committed by GitHub
parent bee2d07499
commit fb8f1d04d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2303,7 +2303,7 @@ function defined_flags_accumulate($desired_flags) {
}
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');
}