extractor summary list definition is simplified

This commit is contained in:
mohab 2021-03-17 19:55:06 +02:00
parent 40d0a37865
commit 09d3cb58e0

View File

@ -205,7 +205,7 @@ def compact(text, mark_headers=False):
if line.startswith('=='):
summary_finished=True
if summary_finished and summary_opened:
summary = [i for i in page]
summary = page
page = []
# Handle section titles
m = section.match(line)