CSS Lost, epub->azw3

Bug #1987011 reported by MyName
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

Standard Ebooks project: Epub file with a cite tag inside a paragraph inside a blockquote.
There is css attached to the cite tag in core.css and css that over-rides it in local.css.
The document displays correctly as an epub. When converting the epub to azw3, the over-ride CSS is lost and the cite is displayed incorrectly.
calibre 5.37, ubuntu 22.04
to see an example, search in the document for: "—Rev. 21. 8."

Tags: conversion
Revision history for this message
MyName (oncobot) wrote :
Revision history for this message
MyName (oncobot) wrote :

Thank you in advance.

Revision history for this message
Kovid Goyal (kovid) wrote :

that is because it uses !important. This is not supported by the
conversion pipeline, and adding support for it is rather more work than
I am interested in doing. Use proper css specificity for your overrides
instead of a hack like !important. For instance, change the selector to
blockquote cite in local.css as well

Changed in calibre:
status: New → Won't Fix
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: Won't Fix → 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.