ebook-convert appending unruly style properties to custom CSS classes
Hi,
I ran into a possible bug in the command line ebook-convert utility. I wonder if there's a workaround, or anything I can do to bypass this issue.
The issue is that Calibre appears to be altering the font-size of blockquotes in certain documents. It appears to be adding CSS font-size properties to classes defined by the inline CSS, which overrides the intended font-size of blockquotes in the document.
The enclosed "Test.html" has identical CSS to "Test2.html", defined in the <style> element in the head of each document. "Test.epub", derived from "Test.html", displays the blockquotes correctly. But "Test2.epub", derived from "Test2.html", is displaying them much larger than intended.
I appended .txt to the HTML filenames, because the forum would not allow them to be uploaded otherwise. I also included the double-verbose output of the ebook-convert command.
Is there a flag I can add to the ebook-convert command to stop Calibre from altering the stylesheet? Please let me know if you have any advice or suggestions.
Thank you!
|