View Single Post
Old 08-04-2020, 05:57 PM   #1
etihwmot
Junior Member
etihwmot began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Aug 2020
Device: android
html to EPUB - added class into <html> tag

I'm converting a pretty clean .html file into EPUB using Calibre 4.20 and have run into a validation problem. The EPUB 'works' fine on my test reading apps/devices, but it does not validate due to:

class="calibre" being inserted into the <html> tag, with the resulting string in each chapter split file:

<html xmlns="http://www.w3.org/1999/xhtml" class="calibre">

Now, I can go in and edit the 30+ chapter files and remove the offending string, but I'd like to know how it got there in the first place!

Tom
interestingly, Amazon and Kobo didn't mind the EPUB, it was Apple that was fussy and forced me to validate the code.
etihwmot is offline   Reply With Quote