summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templatetags
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-12-13 15:45:39 +0100
committerAurélien Bompard <aurelien@bompard.org>2012-12-13 15:45:39 +0100
commit90d3f91df7851b97f07b903f353497742f80d325 (patch)
tree19c69be5514940878f65799c814e9b44a1384676 /hyperkitty/templatetags
parenteab3d767b65982e1e04c5538c0d2827f26230fca (diff)
downloadhyperkitty-90d3f91df7851b97f07b903f353497742f80d325.tar.gz
hyperkitty-90d3f91df7851b97f07b903f353497742f80d325.tar.xz
hyperkitty-90d3f91df7851b97f07b903f353497742f80d325.zip
Fix quoting in the message view
Refs: #24
Diffstat (limited to 'hyperkitty/templatetags')
-rw-r--r--hyperkitty/templatetags/hk_generic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hyperkitty/templatetags/hk_generic.py b/hyperkitty/templatetags/hk_generic.py
index b219eba..555246f 100644
--- a/hyperkitty/templatetags/hk_generic.py
+++ b/hyperkitty/templatetags/hk_generic.py
@@ -165,7 +165,7 @@ def snip_quoted(content, quotemsg="[...]", autoescape=None):
current_quote_orig = []
lastline = line
for quote_orig, quote in quoted:
- replaced = (' <div class="quoted-switch"><a href="#">%s</a></div>' % quotemsg
+ replaced = ('<div class="quoted-switch"><a href="#">%s</a></div>' % quotemsg
+'<div class="quoted-text">'
+"\n".join(quote)
+' </div>')