quasar-epub-reader icon indicating copy to clipboard operation
quasar-epub-reader copied to clipboard

Check if chapter xhtml is integer

Open maggie44 opened this issue 3 years ago • 1 comments

I think the distinction for this line is whether the response is an integer, rather than whether it is above 0?

I came across an ePub that had -1 as the returned string and caused and error as it was supposed to be processed as this.chapter but was passed on to epubcfi (https://contentserver.adobe.com/store/books/GeographyofBliss_oneChapter.epub).

maggie44 avatar Apr 25 '21 21:04 maggie44