summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-12-10 12:25:38 +0100
committerAurélien Bompard <aurelien@bompard.org>2012-12-10 12:25:38 +0100
commitc1ca18df92c40ed7a2226da94cb889a30ee215c2 (patch)
tree6ece3b5ee75b1a1df58457efa361f2fcd0badfe6 /hyperkitty/templates
parent186fe84212d4eb3f9420b90424d830fcf1b78a6f (diff)
downloadhyperkitty-c1ca18df92c40ed7a2226da94cb889a30ee215c2.tar.gz
hyperkitty-c1ca18df92c40ed7a2226da94cb889a30ee215c2.tar.xz
hyperkitty-c1ca18df92c40ed7a2226da94cb889a30ee215c2.zip
Wrap email text at 90 cols if not already wrapped
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/messages/message.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/hyperkitty/templates/messages/message.html b/hyperkitty/templates/messages/message.html
index eaac211..37bc795 100644
--- a/hyperkitty/templates/messages/message.html
+++ b/hyperkitty/templates/messages/message.html
@@ -30,7 +30,7 @@
</div>
<div class="{% if unfolded %}first_{% endif %}email_body"
- >{{ email.content|urlizetrunc:76|escapeemail|snip_quoted }}</div>
+ >{{ email.content|wordwrap:90|urlizetrunc:76|escapeemail|snip_quoted }}</div>
{% if unfolded and email.attachments|count %}
<p class="attachments">Attachments:</p>