From: Eevee <git@veekun.com>
Date: Mon, 13 Sep 2010 07:20:00 +0000 (-0700)
Subject: Stop escaping HTML on the front page.
X-Git-Tag: veekun-promotions/2010091501~2
X-Git-Url: http://git.veekun.com/zzz-spline-forum.git/commitdiff_plain/605d1d3ba47e59213ac675632b34383ed296311e?ds=sidebyside

Stop escaping HTML on the front page.
---

diff --git a/splinext/forum/templates/forum/front_page.mako b/splinext/forum/templates/forum/front_page.mako
index ba51503..d0b9d3d 100644
--- a/splinext/forum/templates/forum/front_page.mako
+++ b/splinext/forum/templates/forum/front_page.mako
@@ -18,7 +18,7 @@
             ${userlib.avatar(update.post.author, size=48)}
         </a>
     </div>
-    <div class="content has-comments">${update.post.content}</div>
+    <div class="content has-comments">${update.post.content|n}</div>
     <div class="comments">
         <a href="${url(controller='forum', action='posts', forum_id=update.post.thread.forum.id, thread_id=update.post.thread.id)}">
             ${update.post.thread.post_count - 1} comment${'' if update.post.thread.post_count == 2 else 's'}