View Single Post
Old 11-14-2019, 06:26 PM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,622
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Hmmm....

On Linux anyway (very latest commits):

1) open a new empty EPUB2 (standard default structure)
2) add an image to the epub
3) use Tools->Add Cover to create a cover page with that image
4) see cover.xhtml rendering in Preview
5) delete the opening body tag's closing bracket
6) instant pink error in Preview

EDIT: Nevermind. I missed the part about deleting the whole opening tag. You're right. That's weird!

Even after closing and reopening cover.xhtml, Preview will happily render the page with no body tags whatsoever. Delete the body tags from any other file (or delete just a portion of one the tags in cover.xhtml) and you get a pink box.

Inspector show the body tags as being present on the newly added cover.xhtml (with the body tags deleted), but it shows them as missing on any other file (with the body tags deleted).

Last edited by DiapDealer; 11-14-2019 at 06:36 PM.
DiapDealer is offline   Reply With Quote