This commit is contained in:
@@ -1926,6 +1926,10 @@ class OutputResult:
|
|||||||
else:
|
else:
|
||||||
current_paragraph.append(re.sub(r'\s+', ' ', line).strip())
|
current_paragraph.append(re.sub(r'\s+', ' ', line).strip())
|
||||||
|
|
||||||
|
if current_paragraph:
|
||||||
|
paragraph = line_separator.join(current_paragraph)
|
||||||
|
paragraphs.append(paragraph)
|
||||||
|
|
||||||
text = self.paragraph_separator.join(paragraphs)
|
text = self.paragraph_separator.join(paragraphs)
|
||||||
return text
|
return text
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user