mirror of https://github.com/BOINC/boinc.git
user web: use CDATA section for title in the RSS feed
svn path=/trunk/boinc/; revision=21474
This commit is contained in:
parent
8726c79087
commit
328e3ad2b4
|
@ -3532,3 +3532,9 @@ David 11 May 2010
|
||||||
|
|
||||||
client/
|
client/
|
||||||
log_flags.cpp
|
log_flags.cpp
|
||||||
|
|
||||||
|
Rytis 12 May 2010
|
||||||
|
- user web: use CDATA section for title in the RSS feed
|
||||||
|
|
||||||
|
html/inc/
|
||||||
|
forum_rss.inc
|
||||||
|
|
|
@ -42,7 +42,7 @@ function show_forum_rss_item($thread, $userid, $threads_only, $truncate) {
|
||||||
}
|
}
|
||||||
//$t = htmlspecialchars($t);
|
//$t = htmlspecialchars($t);
|
||||||
echo "<item>
|
echo "<item>
|
||||||
<title>".strip_tags(bb2html($thread->title))."</title>
|
<title><![CDATA[".strip_tags(bb2html($thread->title))."]]</title>
|
||||||
<link>$unique_url</link>
|
<link>$unique_url</link>
|
||||||
<guid isPermaLink=\"true\">$unique_url</guid>
|
<guid isPermaLink=\"true\">$unique_url</guid>
|
||||||
<description><![CDATA[\n$t\n]]></description>
|
<description><![CDATA[\n$t\n]]></description>
|
||||||
|
|
Loading…
Reference in New Issue