View Single Post
Old 05-25-2018, 10:32 AM   #47
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,746
Karma: 24032915
Join Date: Dec 2010
Device: Kindle PW2
@AlanHK: If you only work with epub3 files, you could temporarily patch plugin.py as follows:

change line 326:

Code:
xml += '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\n'
to:

Code:
xml += '<!DOCTYPE html>\n'
change line 354:

Code:
self.bk1.addfile(uid, basename, xml, mime)
to:
Code:
self.bk1.addfile(uid, basename, xml, mime, 'svg')
Make sure not to modify the tab characters before each line!
Doitsu is offline   Reply With Quote