Incorrect nesting of sections in FB2 output
I am developing an input plugin for Bibles in the OSIS format. The plugin creates a TOC with 3 levels - Testaments, Books and Chapters. This works fine for EPUB output. For FB2 output I am using "--sectionize toc" on the ebook-convert command line to try to create an equivalent table of contents. However, the actual table of contents I see when viewing the the FB2 output in either Calibre or FBReader has all TOC entries except for the first Testamant and Book at level 3. i.e.:
Exodus (should be a level 2 entry, but is actually at level 3)
This appears to be the result of incorrect nesting of sections in the FB2 output. At the end of a book there should be two </section> tags (to terminate chapter and book) and at the end of a testament there should be three </section> tags, but in each case there is only one such tag, other than at the very end of the document body.
I am using Calibre 2.10 on Windows 7.
|Changed in calibre:|
|assignee:||nobody → John Schember (user-none)|
|status:||New → Triaged|
|David Booth (david-booth12) wrote : Re: [Bug 1393514] Re: Incorrect nesting of sections in FB2 output||#5|