Converting from DOCX - problem with framed paragraphs and lists

Bug #1709569 reported by Oliver Juwig on 2017-08-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
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>

Oliver Juwig (ojuwig) wrote :
  • Input Edit (13.1 KiB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
Oliver Juwig (ojuwig) wrote :

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  Edit
Everyone can see this information.

Other bug subscribers