minor bugfixes, more examples

This commit is contained in:
udo committed 2025-07-31 11:08:17 +00:00
1 parent 141775608f
commit a86b956744
29 files changed
+9904 -388

No files matched your search

+1 -1
View File
@@ -255,7 +255,7 @@ class ODT
function odt_entities($raw)
{
return str_replace(chr(10), '<text:line-break/>', htmlspecialchars($raw, ENT_XML1 | ENT_QUOTES, 'UTF-8'));
return str_replace(chr(10), '<text:line-break/>', safe($raw, ENT_XML1 | ENT_QUOTES, 'UTF-8'));
}
function break_into_segments($s)