Issue with Nested Divs in TOC on Kindle
Hi,
Sigil automatically generates the TOC with Tools > Table of Contents > Generate HTML from TOC.
The problem is that it generates a TOC structure with nested divs.
I am working with an epub that has 3 levels (h1, h2, h3) in the index, which results in the TOC having 3 nested divs.
The problem I have is that Kindle only supports 2 nested divs. If I add a TOC with 3 nested divs, Kindle displays it as if they are all at the same level (h1).
Is there any way to automatically generate the TOC without nesting divs?
Thanks
|