Skip to content

fix(reader): recover EPUB section links after reprocessing - #15

Merged
Kritoooo merged 3 commits into
Praeviso:mainfrom
Kritoooo:epub-reader-followup
Apr 13, 2026
Merged

Kritoooo merged 3 commits into
Praeviso:mainfrom
Kritoooo:epub-reader-followup

Conversation

@Kritoooo

Copy link
Copy Markdown
Member

Summary

  • generate EPUB href values relative to so can resolve sections
  • keep same-file EPUB subsection deep links stable when multiple TOC entries share one XHTML document
  • update script and frontend tests to cover the corrected TOC paths

Validation

  • python3 -m unittest discover -s tests/scripts -v
  • npm test
  • npm run test:frontend
  • npm run build

@Kritoooo
Kritoooo merged commit 1a627c5 into Praeviso:main Apr 13, 2026
2 checks passed
@Kritoooo
Kritoooo deleted the epub-reader-followup branch April 13, 2026 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant