Class applied to html element is lost during conversion
Bug #1862401 reported by
John Howell
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
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.
To post a comment you must log in.
Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.
status fixreleased