-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sort pagemarks correctly when adding HTML pagenums
Although `markNext` iterates through the marks in order of their location, it does not guarantee an order when two marks have the same location. This could lead to some page numbers that directly followed blank pages not being output to the HTML file. To resolve it, just sort a list of page markers and use that, rather than iterating through the markers in the file. Fixes #1272
- Loading branch information
1 parent
81ec662
commit b60e554
Showing
1 changed file
with
9 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters