mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-21 00:42:15 +00:00
UTF8 Control Characters werden bei der XML Generierung ersetzt da diese sonst Probleme machen
This commit is contained in:
@@ -411,7 +411,11 @@ class dokument_export
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Remove UTF8 Control Characters (breaking XML)
|
||||
$value = preg_replace('/[\x00-\x1F\x7F]/u', '', $value);
|
||||
$_xml_data->addChild("$key",htmlspecialchars("$value"));
|
||||
}
|
||||
}
|
||||
return $_xml_data->asXML();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user