]> git.wh0rd.org Git - tt-rss.git/commitdiff
generate_syndicated_feed: use CDATA section for item title
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 8 Nov 2010 10:36:12 +0000 (13:36 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 8 Nov 2010 10:36:12 +0000 (13:36 +0300)
functions.php

index 059e968aff1a773f297ec8e5dd6737fa678e3795..54fe552dc1e1db03a005ead771182abf8d34df26 100644 (file)
                                print "<author>" . htmlspecialchars($line["author"]) . "</author>";
                        }
  
-                       print "<title>" . 
-                               htmlspecialchars($line["title"]) . "</title>";
+                       print "<title><![CDATA[" . 
+                               htmlspecialchars($line["title"]) . "]]></title>";
   
                        print "<description><![CDATA[";