This commit is contained in:
jonaswinkler
2021-03-14 14:42:48 +01:00
parent 0ad2b05455
commit 40ce38254b
6 changed files with 63 additions and 30 deletions

View File

@@ -291,6 +291,7 @@ class RasterisedDocumentParser(DocumentParser):
f"No text was found in {document_path}, the content will "
f"be empty."
)
self.text = ""
def strip_excess_whitespace(text):