View Single Post
Old 12-08-2021, 06:39 AM   #8
gingerbeardman
Zealot
gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.gingerbeardman ought to be getting tired of karma fortunes by now.
 
gingerbeardman's Avatar
 
Posts: 129
Karma: 1001024
Join Date: Apr 2010
Location: Cornwall, UK
Device: Various Sony Readers, Kobo Touch Edition, iPhone
Results of the test...

TOC links lead to unexpected destination:
- epub3
- epub3+sigil

TOC links behave as expected:
- epub2

So, I'd like to understand why this is happening if possible?

Using Calibre's ebook-edit compare books feature: for this book I can see only one meaningful difference between epub2 and epub3.

nav.xhtml:
- epub2 uses a container div, id="toc"
- epub3 uses a container nav element, type+id="toc"; and a secondary nav element, type+id="landmarks"
gingerbeardman is offline   Reply With Quote