1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-09-24 03:28:22 +02:00

Merge pull request #612 from vichan-devel/RealAngeleno-patch-9

Remove ENT_QUOTES?
This commit is contained in:
RealAngeleno 2023-08-04 20:51:30 -07:00 committed by GitHub
commit 285bb035da
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');
}