user web: use CDATA section for title in the RSS feed

svn path=/trunk/boinc/; revision=21474
This commit is contained in:
Rytis Slatkevičius 2010-05-12 15:33:56 +00:00
parent 8726c79087
commit 328e3ad2b4
2 changed files with 7 additions and 1 deletions

View File

@ -3532,3 +3532,9 @@ David 11 May 2010
client/
log_flags.cpp
Rytis 12 May 2010
- user web: use CDATA section for title in the RSS feed
html/inc/
forum_rss.inc

View File

@ -42,7 +42,7 @@ function show_forum_rss_item($thread, $userid, $threads_only, $truncate) {
}
//$t = htmlspecialchars($t);
echo "<item>
<title>".strip_tags(bb2html($thread->title))."</title>
<title><![CDATA[".strip_tags(bb2html($thread->title))."]]</title>
<link>$unique_url</link>
<guid isPermaLink=\"true\">$unique_url</guid>
<description><![CDATA[\n$t\n]]></description>