projects
/
zzz-spline-forum.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2c8391e
)
Stop escaping HTML on the front page.
author
Eevee
<git@veekun.com>
Mon, 13 Sep 2010 07:20:00 +0000
(
00:20
-0700)
committer
Eevee
<git@veekun.com>
Mon, 13 Sep 2010 07:20:00 +0000
(
00:20
-0700)
splinext/forum/templates/forum/front_page.mako
patch
|
blob
|
history
diff --git
a/splinext/forum/templates/forum/front_page.mako
b/splinext/forum/templates/forum/front_page.mako
index
ba51503
..
d0b9d3d
100644
(file)
--- 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'}