changeset 5748:666e359493f5

text plain formatter: fix bullet_list, see number_list
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 05 Dec 2010 23:01:15 +0100
parents 783ef0975edb
children 5d5ec86e40a2
files MoinMoin/formatter/text_plain.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/formatter/text_plain.py	Fri Dec 03 18:19:54 2010 +0300
+++ b/MoinMoin/formatter/text_plain.py	Sun Dec 05 23:01:15 2010 +0100
@@ -170,7 +170,7 @@
             self.paragraph_begin()
             self._lists.append(-1)
             self._listitem_on.append(False)
-        else:
+        elif self._lists:
             self.paragraph_end()
             self._lists.pop()
             listitem_on = self._listitem_on.pop()