Quote:
Originally Posted by kovidgoyal
Check the <spine> and <manifest> elements in the opf file that will tell you what files are being read.
|
<spine> and <manifest> point to all the right files: when I removed original 'index.html' files, I substituted them with dummy 'index.html' files that contain syntactically correct html. So everything that <manifest> refers to is still there.
But I have just made another discovery

: the original index.html file in the third article directory ('article_2') subdirectory contains strange <img> element (with empty 'src' attribute):
<img src="" width="" height="" alt="" class="calibre15"/>
When this element is present in the epub, Sony freezes when it tries to show third article.
When I commented this out :
<!-- <img src="" width="" height="" alt="" class="calibre15"/> -->
and build epub and download it to the Sony, it did not freeze! Maybe this is a source of this trouble?
Is there a way to make the recipe to ignore <img> elements with empty src?
Or may be this should be hardcoded somewhere in the Calibre source as a basic sanity check: what is a point of an image with no src URL?