Skip to content

Commit

Permalink
improve handling of list-attribute-only lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikirudennis committed Apr 29, 2018
1 parent db0c8c8 commit 3478434
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions textile/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,9 +374,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)
Expand Down

0 comments on commit 3478434

Please sign in to comment.