Merge pull request #144 from lotrfan/import_export_fix
[import_export plugin] Escape ']]>' (closing CDATA tag) when exporting feeds
This commit is contained in:
commit
6201154848
|
@ -162,6 +162,7 @@ class Import_Export extends Plugin implements IHandler {
|
|||
fputs($fp, "<article>");
|
||||
|
||||
foreach ($line as $k => $v) {
|
||||
$v = str_replace("]]>", "]]]]><![CDATA[>", $v);
|
||||
fputs($fp, "<$k><![CDATA[$v]]></$k>");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue