2
0
forked from Wavyzz/dolibarr

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

View File

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