]> git.wh0rd.org Git - tt-rss.git/commitdiff
call sanitize_rss() when generating syndicated feeds
authorAndrew Dolgov <fox@bah.org.ru>
Mon, 22 Jun 2009 12:09:04 +0000 (16:09 +0400)
committerAndrew Dolgov <fox@bah.org.ru>
Mon, 22 Jun 2009 12:09:04 +0000 (16:09 +0400)
functions.php

index 8e98d4874d0c2c447cdb03793f43ccd8d315e127..90b9b49e0f438d2b90778d4178d8dc9159a08557 100644 (file)
                                htmlspecialchars($line["title"]) . "</title>";
   
                        print "<description><![CDATA[";
-                       print $line["content_preview"];
+                       print sanitize_rss($link, $line["content_preview"]);
                        if ($line["note"]) {
                                print "<div style='$note_style'>";
                                print $line["note"];