Stop escaping HTML on the front page.
authorEevee <git@veekun.com>
Mon, 13 Sep 2010 07:20:00 +0000 (00:20 -0700)
committerEevee <git@veekun.com>
Mon, 13 Sep 2010 07:20:00 +0000 (00:20 -0700)
splinext/forum/templates/forum/front_page.mako

index ba51503..d0b9d3d 100644 (file)
@@ -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'}