EPub from ebook-convert is accepted by Amazon KDP, but not Google Play
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I like to publish an ebook created by ebook-convert (4.23.0 on Ubuntu 20.4) on Google PlayStore and their epub validator returns
Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang".
for every chapter. I found out removing class attribute from the html tag solves the problem.
<html xmlns="http://
At https:/
Is is possible to tell ebook-convert not to add the class somehow?
My full command I send is:
ebook-convert /tmp/ebookmaker
The validator that returns the error message is also online here: http:// validator. idpf.org/