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
7c80227e54db7fb48896c90706e3fa730db785d9
crosspoint-reader-mod
/
test
/
epubs
/
test_jpeg_images.epub
1156 lines
315 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