diff --git a/textile/core.py b/textile/core.py index c67f3ee..90c957a 100644 --- a/textile/core.py +++ b/textile/core.py @@ -367,9 +367,9 @@ def fTextileList(self, match): # item, else just create the item if tl not in ls: ls[tl] = 1 - if i == 0: + if i == 0 and showitem: _list.add_item(litem, content) - else: + elif showitem: # itemtag = ("\n{0}\t<{1}>{2}".format(tabs, litem, content) if # showitem else '') _sublist = List('{0}l'.format(ltype), attributes)