Open stewart123579 opened 2 years ago
PR https://github.com/ofosos/ox-epub/pull/36 addresses the mimetype
error, however the role
errors look to sit somewhere in either ox-html or in how epubcheck handles role
attributes in <div>
tags.
The problem is in the generated body.html
at this point:
<div id="table-of-contents" role="doc-toc">
<h2>Table of Contents</h2>
<div id="text-table-of-contents" role="doc-toc">
I don't understand the HTML and EPUB specs well enough to judge where this issue falls.
Generated epubs fail epubcheck
Downloading the sample epub results in
When I generate the sample epub from sample.org I get more errors:
org version:
9.5.4
emacs version:GNU Emacs 28.1 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G95)) of 2022-05-12
platform: Mac 12.4 installed via: MELPAox-epub-20181101.1854