Skip to content

Commit

Permalink
Revert a mistake in page break cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
vkbo committed Nov 7, 2024
1 parent 4479277 commit 5c98896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion novelwriter/formats/tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ def tokenizeText(self) -> None:
))

# 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
Expand Down

0 comments on commit 5c98896

Please sign in to comment.