summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-08 13:36:12 +0300
committerAndrew Dolgov <[email protected]>2010-11-08 13:36:12 +0300
commite5208bac877c17bb55e8369fab682652bf52d8a7 (patch)
treef04599f01ac4fd0b78da736612ce7474558c89b0 /functions.php
parent2f2bd1b3f6bc8a79174f284134538e493790fe14 (diff)
generate_syndicated_feed: use CDATA section for item title
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php4
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[";