From: Jeffrey Tolar Date: Wed, 10 Apr 2013 03:46:44 +0000 (-0500) Subject: Escape ']]>' (closing CDATA tag) when exporting with import_export plugin X-Git-Tag: 1.7.9~28^2^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=c541d3a57e061521aa24d41dcedee0b1831f71c3;p=tt-rss.git Escape ']]>' (closing CDATA tag) when exporting with import_export plugin --- diff --git a/plugins/import_export/init.php b/plugins/import_export/init.php index ab47288b..1d7a8e55 100644 --- a/plugins/import_export/init.php +++ b/plugins/import_export/init.php @@ -162,6 +162,7 @@ class Import_Export extends Plugin implements IHandler { fputs($fp, "
"); foreach ($line as $k => $v) { + $v = str_replace("]]>", "]]]]>", $v); fputs($fp, "<$k>"); }