summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/messages
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty/templates/messages')
-rw-r--r--hyperkitty/templates/messages/message.html9
1 files changed, 2 insertions, 7 deletions
diff --git a/hyperkitty/templates/messages/message.html b/hyperkitty/templates/messages/message.html
index 0dd93a8..d235813 100644
--- a/hyperkitty/templates/messages/message.html
+++ b/hyperkitty/templates/messages/message.html
@@ -29,13 +29,8 @@
</div>
</div>
-{% if unfolded %}
-<div class="first_email_body">
-{% else %}
-<div class="email_body">
-{% endif %}
-{{email.content|urlizetrunc:76|escapeemail}}
-</div>
+<div class="{% if unfolded %}first_{% endif %}email_body"
+ >{{ email.content|urlizetrunc:76|escapeemail|snip_quoted }}</div>
{% if unfolded and email.attachments|count %}
<p class="attachments">Attachments:</p>