Parts are tagged incorrectly as <toc-div> when should be <toc-entry>
cc @jordandc
Expected behaviour
Parts should be tagged as <toc-entry>
and not <toc-div>
-
Per issue #24 (closed) specs, and attached here:
Current behaviour
Parts are getting tagged as <toc-div>
causing display issues in preview
Steps to reproduce
Compare to actual book TOC on Bookshelf live site (see contributors don't display on Coko generated preview as well): https://www.ncbi.nlm.nih.gov/books/NBK53196/
Incorrect TOC from that download:
- Create book with same settings as above
- Create parts as in book above
- Download and upload contents, moving them to parts as above
- Publish contents to generate TOC.xml
Priority
Y, for processing