Merge pull request #144 from lotrfan/import_export_fix

[import_export plugin] Escape ']]>' (closing CDATA tag) when exporting feeds
master
Andrew Dolgov 12 years ago
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…
Cancel
Save