mirror of
https://tt-rss.org/git/tt-rss.git
synced 2024-06-26 11:59:02 +02:00
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
Block a user