diff options
author | Andrew Dolgov <[email protected]> | 2010-11-08 13:36:12 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-08 13:36:12 +0300 |
commit | e5208bac877c17bb55e8369fab682652bf52d8a7 (patch) | |
tree | f04599f01ac4fd0b78da736612ce7474558c89b0 | |
parent | 2f2bd1b3f6bc8a79174f284134538e493790fe14 (diff) |
generate_syndicated_feed: use CDATA section for item title
-rw-r--r-- | functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.php b/functions.php index 059e968af..54fe552dc 100644 --- a/functions.php +++ b/functions.php @@ -3661,8 +3661,8 @@ print "<author>" . htmlspecialchars($line["author"]) . "</author>"; } - print "<title>" . - htmlspecialchars($line["title"]) . "</title>"; + print "<title><![CDATA[" . + htmlspecialchars($line["title"]) . "]]></title>"; print "<description><![CDATA["; |