This commit is contained in:
1 parent
af4a32f581
commit
023e1a0ae8
1 file changed
+4
@@ -1926,6 +1926,10 @@ class OutputResult:
|
||||
else:
|
||||
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)
|
||||
return text
|
||||
|
||||
|
||||
Reference in new issue
Block a user