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.
|