reactjs-interview-questions
reactjs-interview-questions copied to clipboard
Epub version questions rendering error
I have downloaded the latest epub version and I got an error that says "error on line 1511 at column 6: Opening and ending tag mismatch: li line 0 and h1".
I'm assuming that the template literals are not working with the epub version.
OS: macOS BigSur Books: V3.2
Are there any issues with PDF version?
@sudheerj No there are no issues with the PDF version. Thanks
Not sure if related but the ePub version when opened on iOS books app, it only has 21 pages
epubcheck tells you that you are missing a closing tag. I can send you a working epub file, but I'm not sure how to do so.
Should I create a pull request, with a /dist/ directory?
@bingalls No, it should be fixed README. Are you still replicating the issue?
@sudheerj I pulled your latest master branch, and ran your pandoc command I found in
https://github.com/sudheerj/reactjs-interview-questions/actions/runs/1787781504/workflow
I am running the latest native (not docker) pandoc 2.17.1.1
Your README.md implies that I can just download a *.epub file, by clicking on Github's Actions tab (above). Not clear, where this is.
https://github.com/w3c/epubcheck still fails the same way. (It is available via Homebrew.)
You can fix one error in pandoc's epub generation by adding a title tag, or add --metadata title="React Interview Questions" to your pandoc call.
Currently, only 26 pages, or 5 chapters render. It is also possible to convert the PDF to epub. I'm not sure, what version of Epub pandoc generates. Here are the first few epubcheck errors:
Validating using EPUB version 3.2 rules. FATAL(RSC-016): reactinterview.epub/EPUB/text/ch001.xhtml(1583,3): Fatal Error while parsing file: The element type "li" must be terminated by the matching end-tag "". ERROR(RSC-005): reactinterview.epub/EPUB/text/ch001.xhtml(-1,-1): Error while parsing file: The element type "li" must be terminated by the matching end-tag "". ERROR(RSC-012): reactinterview.epub/EPUB/toc.ncx(46,56): Fragment identifier is not defined.
Epub is no longer supported