Revert a mistake in page break cleanup

This commit is contained in:
Veronica Berglyd Olsen
2024-11-07 19:05:49 +01:00
parent 44792778aa
commit 5c988960f5
+1 -1
View File
@@ -810,7 +810,7 @@ class Tokenizer(ABC):
))
# If we have content, turn off the first page flag
if self._isFirst and tBlocks:
if self._isFirst and len(tBlocks) > 1:
self._isFirst = False # First document has been processed
# Make sure the blocks array doesn't start with a page break