Merge pull request #14974 from code-chicken/patch-8

Fix for #14957 and probably a lot of other issues
This commit is contained in:
Laurent Destailleur 2020-10-09 13:53:54 +02:00 committed by GitHub
commit 06bec1bff0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,6 +141,7 @@ class Odf
//}
}
$value = $encode ? htmlspecialchars($value) : $value;
$value = ($charset == 'ISO-8859') ? utf8_encode($value) : $value;
// Check if the value includes html tags