This website requires JavaScript.
Explore
Help
Sign In
cottongin
/
crosspoint-reader-mod
Watch
1
Star
1
Fork
0
You've already forked crosspoint-reader-mod
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
0493f300be4a06afa28e6e20b666d4587eae9b49
crosspoint-reader-mod
/
test
/
epubs
/
test_png_images.epub
359 lines
96 KiB
Plaintext
Raw
Normal View
History
Unescape
Escape
fix: image centering bleed (#1096) ## Summary * Fixes #1026 * Added a reproducer chapter to the epub generator for this case * The fix is in endElement — when leaving a block/header element that had an empty text block, reset the alignment to the user's default so it doesn't bleed into the next sibling. This preserves accumulated margins from parent elements while preventing stale alignment from carrying across. ## Additional Context ### Before fix    ### After fix   --- ### AI Usage While CrossPoint doesn't have restrictions on AI tools in contributing, please be transparent about their usage as it helps set the right context for reviewers. Did you use AI tools to help write this code? _**< PARTIALLY **_
2026-02-23 20:17:37 +00:00
PK