From a11ee64dae571733b371e2d71ebfeb8c5223d9e2 Mon Sep 17 00:00:00 2001 From: Grzegorz Adam Hankiewicz Date: Sun, 28 Jul 2013 22:47:17 +0200 Subject: [PATCH] Renders RSS entries in HTML. We are not from the past. --- main.tmpl | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/main.tmpl b/main.tmpl index 4c2709e..ec34504 100644 --- a/main.tmpl +++ b/main.tmpl @@ -130,8 +130,10 @@ href="${c.req.makeUri(url)}"/> ${%threadDate} ${XMLEncode(%postAuthor)} - Posts ${%postCount}, ${XMLEncode(%postAuthor)} said: ${XMLEncode(%postContent)} + Posts ${%postCount}, ${XMLEncode(%postAuthor)} said: +<p> +${XMLEncode(rstToHtml(%postContent))} # end for @@ -176,10 +178,10 @@ href="${c.req.makeUri(url)}"/> ${%postRssDate} ${XMLEncode(%postAuthor)} - On ${XMLEncode(%postHumanDate)}, ${XMLEncode(%postAuthor)} said: - -${XMLEncode(%postContent)} +<p> +${XMLEncode(rstToHtml(%postContent))} # end for