Merge branch 'pr_html_rss' of git://github.com/gradha/nimforum into gradha-pr_html_rss

This commit is contained in:
Dominik Picheta 2013-08-06 20:19:49 +01:00
commit 7a29e748e7

View file

@ -131,8 +131,10 @@
href="${c.req.makeUri(url)}"/>
<updated>${%threadDate}</updated>
<author><name>${XMLEncode(%postAuthor)}</name></author>
<content type="text"
>Posts ${%postCount}, ${XMLEncode(%postAuthor)} said: ${XMLEncode(%postContent)}</content>
<content type="html"
>Posts ${%postCount}, ${XMLEncode(%postAuthor)} said:
&lt;p&gt;
${XMLEncode(rstToHtml(%postContent))}</content>
</entry>
# end for
</feed>
@ -177,10 +179,10 @@
href="${c.req.makeUri(url)}"/>
<updated>${%postRssDate}</updated>
<author><name>${XMLEncode(%postAuthor)}</name></author>
<content type="text"
<content type="html"
>On ${XMLEncode(%postHumanDate)}, ${XMLEncode(%postAuthor)} said:
${XMLEncode(%postContent)}</content>
&lt;p&gt;
${XMLEncode(rstToHtml(%postContent))}</content>
</entry>
# end for
</feed>