generate_syndicated_feed: use CDATA section for item title

This commit is contained in:
Andrew Dolgov 2010-11-08 13:36:12 +03:00
parent 2f2bd1b3f6
commit e5208bac87
1 changed files with 2 additions and 2 deletions

View File

@ -3661,8 +3661,8 @@
print "<author>" . htmlspecialchars($line["author"]) . "</author>"; print "<author>" . htmlspecialchars($line["author"]) . "</author>";
} }
print "<title>" . print "<title><![CDATA[" .
htmlspecialchars($line["title"]) . "</title>"; htmlspecialchars($line["title"]) . "]]></title>";
print "<description><![CDATA["; print "<description><![CDATA[";