EPUB3 -> HTMLZ conversion does not fix background-image url

Bug #1999956 reported by Ivan Kozik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

I tested calibre 6.9 on Windows 10 22H2.

The input file is https://www.gutenberg.org/ebooks/28885.epub3.images via https://www.gutenberg.org/ebooks/28885 and I have also attached it here, as per the instructions.

In the book, the text "Either the well was very deep" is inside a <table class="rabbithole"> and has the CSS:

table.rabbithole { background-image: url(1497581800467652904_p0003-rabbithole.png); }

When reading the EPUB3 in calibre, the background image renders fine. But when converting to HTMLZ, the image file is renamed, while the background-image url is not rewritten, so the background image no longer appears.

Revision history for this message
Ivan Kozik (ludios) 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.