Class applied to html element is lost during conversion

Bug #1862401 reported by John Howell on 2020-02-07
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

The style definition of a class applied only to the <html> element is eliminated by the CSS flattening that occurs during conversion. Perhaps it is being treated as unreferenced.

I am attaching a simple EPUB that demonstrates this problem. Text is made bold using a class named boldness applied to the html element. It displays properly before conversion. After an EPUB to EPUB conversion the boldness class is missing from the stylesheet.

Tested using calibre 4.10.1 64-bit under Windows 10.

John Howell (jhowell-o) 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
John Howell (jhowell-o) wrote :

Thanks!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers