Fix for #14957 and probably a lot of other issues
Convert special characters for a valid use in xml documents
This commit is contained in:
parent
c7784076c5
commit
3b7b4312cb
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user