Add missing CDATA in rssFeed.tpl
authorTim Düsterhus <timwolla@googlemail.com>
Mon, 10 Feb 2014 14:19:32 +0000 (15:19 +0100)
committerTim Düsterhus <timwolla@googlemail.com>
Mon, 10 Feb 2014 14:19:32 +0000 (15:19 +0100)
com.woltlab.wcf/templates/rssFeed.tpl

index 11242c0053de78023051b80ccf32edc970db0e4a..1b5e44b1b47ece7bbc2df40caabf9e3afb62c795 100644 (file)
                        <link><![CDATA[{@$item->getLink()|escapeCDATA}]]></link>
                        {hascontent}<description><![CDATA[{content}{@$item->getExcerpt()|escapeCDATA}{/content}]]></description>{/hascontent}
                        <pubDate>{'r'|gmdate:$item->getTime()}</pubDate>
-                       <dc:creator>{@$item->getUsername()|escapeCDATA}</dc:creator>
+                       <dc:creator><![CDATA[{@$item->getUsername()|escapeCDATA}]]></dc:creator>
                        <guid><![CDATA[{@$item->getLink()|escapeCDATA}]]></guid>
                        {foreach from=$item->getCategories() item='category'}
                                <category><![CDATA[{@$category|escapeCDATA}]]></category>
                        {/foreach}
                        {hascontent}<content:encoded><![CDATA[{content}{@$item->getFormattedMessage()|escapeCDATA}{/content}]]></content:encoded>{/hascontent}
-                       <slash:comments>{@$item->getComments()|escapeCDATA}</slash:comments>
+                       <slash:comments><![CDATA[{@$item->getComments()|escapeCDATA}]]></slash:comments>
                </item>
 {*             *}{/foreach}
        </channel>
@@ -43,4 +43,4 @@
 {*     *}{/if}
        -->
 {/if}
-</rss>
\ No newline at end of file
+</rss>