From e8ff971ed0089e343c5653672707307b89ad6e63 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Wed, 12 Dec 2012 12:15:01 +0100 Subject: Wrap email text in the other templates too See rev 317. --- hyperkitty/templates/month_view.html | 4 +++- hyperkitty/templates/search.html | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'hyperkitty') diff --git a/hyperkitty/templates/month_view.html b/hyperkitty/templates/month_view.html index 41c8275..cfdaf8a 100644 --- a/hyperkitty/templates/month_view.html +++ b/hyperkitty/templates/month_view.html @@ -55,7 +55,9 @@ {{ thread.starting_email.sender_name|escapeemail }}
- {{ thread.starting_email.content }} + + {{ thread.starting_email.content|wordwrap:90|urlizetrunc:76|escapeemail }} +
diff --git a/hyperkitty/templates/search.html b/hyperkitty/templates/search.html index 844bc60..df29615 100644 --- a/hyperkitty/templates/search.html +++ b/hyperkitty/templates/search.html @@ -36,7 +36,9 @@ {{email.sender_name}}
- {{email.content}} + + {{email.content|wordwrap:90|urlizetrunc:76|escapeemail}} +
-- cgit