Merge pull request #143 from danduma/master

Bug fix for list items
This commit is contained in:
Giuseppe Attardi 2019-04-13 11:43:09 +02:00 committed by GitHub
commit 5bf4df62fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2602,6 +2602,8 @@ def compact(text):
bullet = 'BULLET::::%d. ' % listCount[i - 1] if n == '#' else 'BULLET::::- '
page.append('{0:{1}s}'.format(bullet, len(listLevel)) + line)
elif options.toHTML:
if n not in listItem:
n = '*'
page.append(listItem[n] % line)
elif len(listLevel):
if options.toHTML: