Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #31.
Summary
<br>boundaries inside a single large paragraph, while relocating links and TOC targets.--flow-sizeof 260 KiB for EPUB output.--flow-size Nchanges the limit, and--flow-size 0disables size-based splitting.--dont-split-on-page-breaksfor MOBI input. It suppresses source page-break and NCX-position splits while leaving size-based splitting active. Without the flag, existing source page-break handling remains enabled.The size limit is best effort where content cannot be split safely.
Validation
cargo test --lockedcargo clippy --locked --all-targets -- -D warningscargo fmt --checkandgit diff --check--dont-split-on-page-breaksproduced 53 XHTML files, largest 266,239 bytes (below 260 KiB).--flow-size 0produced one XHTML file. All three outputs had identical body text hashes and line-break counts; ZIP, XML, and internal references checked clean.