diff --git a/contrib/frontends/django/nntpchan/nntpchan/frontend/templatetags/chanup.py b/contrib/frontends/django/nntpchan/nntpchan/frontend/templatetags/chanup.py index d0461ea..c7a3bcc 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) == 0: + if len(line) < 1: continue if line[0] == '>' and line[1] != '>': return_text += '%s ' % esc ( line ) + '\n'