We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78639c2 commit 8d93b34Copy full SHA for 8d93b34
textile/core.py
@@ -308,10 +308,10 @@ def fTextileList(self, match):
308
content = content.strip()
309
if '\n' in content:
310
content = content.replace('\n', '<br />\n')
311
- nl = ''
+ # nl = ''
312
ltype = list_type(tl)
313
if i == 0:
314
- _list = List('{0}l'.format(ltype), attributes)
+ _list = List('{0}l'.format(ltype), attributes, len(tl))
315
tl_tags = {';': 'dt', ':': 'dd'}
316
litem = tl_tags.get(tl[0], 'li')
317
0 commit comments