Merge pull request #14972 from code-chicken/patch-7
Fix for #14957 and probably a lot of other issues
This commit is contained in:
commit
85a9714d07
@ -156,6 +156,7 @@ class Odf
|
|||||||
*/
|
*/
|
||||||
public function convertVarToOdf($value, $encode = true, $charset = 'ISO-8859')
|
public function convertVarToOdf($value, $encode = true, $charset = 'ISO-8859')
|
||||||
{
|
{
|
||||||
|
$value = $encode ? htmlspecialchars($value) : $value;
|
||||||
$value = ($charset == 'ISO-8859') ? utf8_encode($value) : $value;
|
$value = ($charset == 'ISO-8859') ? utf8_encode($value) : $value;
|
||||||
$convertedValue = $value;
|
$convertedValue = $value;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user