All converting epub styles with class"_number_name" are corrupt.

Bug #1349442 reported by Camelot on 2014-07-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

When converting a eBook (e.g. azw to epub) with class name class="[underline][number][name]" calibre removed all underline in class name.
after conversion all class name with "[number][name]" are now invalid.
class name _must_ have another character then number to beginn.

example before conversion: <p class="_3d_Untertitel">ROMAN</p>
the style of ROMAN is text-align:center with little big font size.

after conversion: <p class="3dUntertitel">ROMAN</p>
the style of ROMAN is empty (invalid class name)

for self testing here a preview epub:
https://cdp.pageplace.de/cdp/public/publications/DT0144/9783641124816/PREVIEW/9783641124816_preview.epub

Calibre 1.46
Linux (aptosid/amd64)

Fixed in branch master. The fix will be in the next release. calibre is usually released every 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