From 441ca9fb9e047dfa9ec64e158fd33bc732c7416b Mon Sep 17 00:00:00 2001 From: Ole Laursen Date: Wed, 25 Apr 2012 12:06:00 +0000 Subject: [PATCH] Follow trunk before migration and don't fill the snippets on the history page - Legacy-Id: 4320 --- ietf/idtracker/templatetags/ietf_filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/idtracker/templatetags/ietf_filters.py b/ietf/idtracker/templatetags/ietf_filters.py index 70ce079db..b34e0c478 100644 --- a/ietf/idtracker/templatetags/ietf_filters.py +++ b/ietf/idtracker/templatetags/ietf_filters.py @@ -445,7 +445,7 @@ def ad_area(user): def format_history_text(text): """Run history text through some cleaning and add ellipsis if it's too long.""" full = mark_safe(sanitize_html(keep_spacing(linebreaksbr(urlize(mark_safe(text)))))) - snippet = truncatewords_html(format_textarea(fill(text, 80)), 25) + snippet = truncatewords_html(format_textarea(text), 25) if snippet[-3:] == "...": return mark_safe(u'
%s[show all]
' % (snippet, full)) return full