I will check on how unused media are detected. It is a feature I have actually never used. If you can post a testcase (please no commercial ebooks) that demonstrates that issue it would certainly help. Perhaps your opf pointed to the other cover.jpeg and the xlink:href was ignored?
The svg image tag is a void tag (can have no contents) so the gumbo parser will enforce that. Although a closing image tag is allowed in pure xml it is not allowed in html5 and so creates problems with some tool chains, mainly those used in kindle conversion. Even the old Sigil 0.8.x series with Tidy fixed that particular issue to let kindlegen properly parse the resulting epub without errors.. Sigil cleans and serializes to polyglot xhtml/html5 so that your code will be correctly parsed by all ereaders whether based on html webkit engines, or pure xml engines.
KevinH
Last edited by KevinH; 03-10-2016 at 06:56 AM.
|