View Single Post
Old 07-08-2025, 02:35 PM   #1659
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,111
Karma: 92190133
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by dendron View Post
I ran into the same problem as DoctorOhh.
...
I will attach the scrambled EPUB for further investigation.
Thank you for posting that.

Quote:
Originally Posted by dendron View Post
Trying to open the EPUB in Kindle Previewer (v3.96.0) or to convert it into KFX using the plugin yields this error message:
Code:
E21018: Enhanced Mobi building failure, while parsing content in the file. Content: <img> in file: OEBPS\chapter.xhtml line: 267
It is rather weird because the lines that are referenced do not even contain an <img> element.
I was able to find the cause of the problem. It is actually on line 270, not on line 267 as indicated in the error message.

It appears that the existence of "&gt;" (a greater than character) in the "alt" attribute of an img element triggers a conversion failure in Amazon's kindlegen, which is used by the Kindle Previewer as part of the process of converting to KFX format.

The next release of the KFX Output plugin will remove those characters from image alt text prior to conversion in order to avoid this problem.
jhowell is offline   Reply With Quote