I have updated EpubJSReader to version v0.3.0 that fixes the broken TOC behaviour on my machine with the newone.epub testcase provided.
The fix was a simplification of the approach suggested in Issue 1084 (see earlier link to that issue).
A patch file is now part of the repository.
Please see the first post in this thread for links to the latest release.
@AndrewRyzhkin
Please confirm this fixes the issue with your original epub as well when you get a chance.
Thanks for your bug report and test case!
Last edited by KevinH; 06-08-2021 at 10:32 AM.
|