mlanthaler: Bugfix: Since title was not escaped right, the RSS feed is invalid if there is an tag like <whatever> in the title of an entry.

(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42030 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2007-09-16 01:59:05 +00:00
parent 8521832df4
commit 3c7bcfe813

View File

@ -1,9 +1,9 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<rss version="2.0"> <rss version="2.0">
<channel> <channel>
<title>$Title</title> <title>$Title.XML</title>
<link>$Link</link> <link>$Link</link>
<description>$Description</description> <description>$Description.XML</description>
<% control Entries %> <% control Entries %>
<item> <item>
@ -14,7 +14,7 @@
<% else %><pubDate>$Created.Rfc822</pubDate><% end_if %> <% else %><pubDate>$Created.Rfc822</pubDate><% end_if %>
<% if Author %><author>$Author.XML</author><% end_if %> <% if Author %><author>$Author.XML</author><% end_if %>
<guid>$AbsoluteLink</guid> <guid>$AbsoluteLink</guid>
</item> </item>
<% end_control %> <% end_control %>
</channel> </channel>