diff --git a/WikiExtractor.py b/WikiExtractor.py index 86e8f2c..bcb8009 100755 --- a/WikiExtractor.py +++ b/WikiExtractor.py @@ -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: