Converting from DOCX - problem with framed paragraphs and lists

Bug #1709569 reported by Oliver Juwig
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

Calibre 3.6
Windows 10

When Calibre converts a list (either with bullet points or numbers), which is also surrounded by a frame, it delivers bad HTML code. Example:

It delivers:

<ul class="list_"><div class="frame_">
 <li class="block_31"><i class="calibre5">Todesfall</i></li>
 <li class="block_32"><i class="calibre5">Unfall und Krankenhausaufenthalt</i></li>
 <li class="block_33"><i class="calibre5">Verlust des Ausweises</i></li>
</div></ul>

This code is erroneous, which is also flagged by ePubCheck. The tags <div> und <ul> (or <ol>) must be the other way around:

<div class="frame_"><ul class="list_">
 <li class="block_31"><i class="calibre5">Todesfall</i></li>
 <li class="block_32"><i class="calibre5">Unfall und Krankenhausaufenthalt</i></li>
 <li class="block_33"><i class="calibre5">Verlust des Ausweises</i></li>
</ul></div>

Revision history for this message
Oliver Juwig (ojuwig) wrote :
  • Input Edit (13.1 KiB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
Revision history for this message
Oliver Juwig (ojuwig) wrote :
Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.