Skip to content

Commit

Permalink
line bugfix (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaojin3616 authored Nov 3, 2023
2 parents 884f996 + d8b73c0 commit 0e71b51
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ def merge_partitions(partitions):
is_first_elem = False
else:
if last_label == 'Title' and label == 'Title':
doc_content.append('\n' + text + '\n')
doc_content.append('\n' + text)
elif label == 'Title':
doc_content.append('\n\n' + text + '\n')
doc_content.append('\n\n' + text)
elif label == 'Table':
doc_content.append('\n\n' + text + '\n')
doc_content.append('\n\n' + text)
else:
doc_content.append(text_elem_sep + text)

Expand Down

0 comments on commit 0e71b51

Please sign in to comment.