Skip to content

fix(epub): resolve percent-encoded NCX targets - #64

Open
Technofrikus wants to merge 1 commit into
CidVonHighwind:mainfrom
Technofrikus:codex/fix-ncx-percent-encoding
Open

Technofrikus wants to merge 1 commit into
CidVonHighwind:mainfrom
Technofrikus:codex/fix-ncx-percent-encoding

Conversation

@Technofrikus

Copy link
Copy Markdown

I had one epub where the chapter selection did not work. Even though the epub had chapters. There were percent signs in the NCX paths wich the parser for converting to mrb had problems with, so the chapters werent added.

I tested this on my X3 and now the chapters work.

This was made with AI, tbh I dont fully understand the solution but hope that ChatGPT 5.6 Terra did a good job.

Thanks for this awesome firmware! The other ones are so slow and full of features I dont need. This one is snappy.

I made some speed improvements in my fork (converting fonts, turning on and off), if you are interested I could make PRs here as well. Not sure how active you want or can be at the moment.

@CidVonHighwind

Copy link
Copy Markdown
Owner

Can you give me the title of the book so I can check this out myself?

@Technofrikus

Technofrikus commented Sep 7, 2026

Copy link
Copy Markdown
Author

It may be in this particular epub, not sure, so here it is: https://nx47798.your-storageshare.de/s/WZYqY6n3YLbefQp

Edit: weird phrasing. I meant you probably would not find the specific epub of this book, other epubs might not have this problem, dont know.

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.

2 participants