View Single Post
Old Yesterday, 03:50 PM   #2
BeckyEbook
Wizard
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 1,097
Karma: 4000789
Join Date: Jan 2017
Location: Poland
Device: Various
I noticed a potential issue with epubsana.

In some cases, for example when the OPF is accidentally damaged by a Sigil 2.8.5 bug (issue #903), a manifest entry may be missing even though the corresponding XHTML file is still present in the EPUB.

The CLI version correctly asks for confirmation before dropping the orphaned spine itemref. However, the Sigil plugin applies this fix automatically, without asking.

I think epubsana should first check whether the missing file actually exists in the EPUB and, if so, restore the manifest entry rather than remove the spine reference.
Attached Files
File Type: zip test_file-for-epubsana.zip (4.2 KB, 2 views)
BeckyEbook is online now   Reply With Quote