View Single Post
Old 07-02-2024, 12:21 PM   #10
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,139
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by phossler View Post
@all -- Thanks for additional information

In jacket.xhtml's stylesheet.css I have this




ModifyEpub Add/Modify Jacket adds this to the epub



and Calibre debug flags it as an error. I don't remember that condition being flagged as an error

Didn't mean to imply that Calibre was dropping comments, only that empty blocks were flagged as an error
That is a just a Warning (advisory). Some may want to actually Put stuff there or leave or clean out (minimalist code ).
BTW I have seen the original many times, I just can't remember which publisher has this as their default (house template to coders).
Just like here on MR, using the house stylesheet classes gets ignored by the 'that looks good (in the preview)' cheap hire coders. <p class="adcard"> for regular paragraphs in the entire book. or 'xyz goes here'
just lowest bidder sloppy code
I also note house stylesheets instruct the coder to NOT EDIT the sheet.

Simple. If that is done, you can auto clean unused before shipping AND IF I need to edit the book that uses something cleaned, just restore the default (since that has everything we started with), do the update edits, and clean before shipping
theducks is online now   Reply With Quote