wrong tags order in list from DOCX
Bug #1771279 reported by
Alberto Garcia
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Calibre is 3.23.0 for Mac, Word is 2011 (also Mac). Original DOCX also edited in a Windows 7 machine, with Word 2016 (but last edition with 2011 for Mac).
Upon exporting a list, the HMTL tags have an invalid order. Should be
div
p - /p
ul
li
..
li
/ul
p - /p
/div
but it produced
p - /p
/ul
/div
at the end, thus the list was not formally closed inside the div due to an illegal p.
Error was detected by the revision tool when i tried to upload the epub to Draft2Digital. I could edit the file myself in calibre, now it was accepted.
To post a comment you must log in.
Attach a DOCX file demonstrating/ reproducing the problem to this bug report. You can do that by clicking the "Add attachment or patch" link at the bottom of the bug's page. If the file you are attaching is copyrighted, mark the bug as private. You can do this by clicking the tiny yellow icon next to "This report contains Public information" in the top right area of the bug's page.
status incomplete