From c8cb42edfdc1507476661e693828718bc1d86fd5 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sat, 12 Nov 2016 13:08:43 -0500 Subject: [PATCH] off by one --- .../django/nntpchan/nntpchan/frontend/templatetags/chanup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/frontends/django/nntpchan/nntpchan/frontend/templatetags/chanup.py b/contrib/frontends/django/nntpchan/nntpchan/frontend/templatetags/chanup.py index c7a3bcc..01a51f8 100644 --- a/contrib/frontends/django/nntpchan/nntpchan/frontend/templatetags/chanup.py +++ b/contrib/frontends/django/nntpchan/nntpchan/frontend/templatetags/chanup.py @@ -23,7 +23,7 @@ def greentext(text, esc): f = False for line in text.split('\n'): line = line.strip() - if len(line) < 1: + if len(line) < 2: continue if line[0] == '>' and line[1] != '>': return_text += '%s ' % esc ( line ) + '\n'