Patrick Gaskin
Patrick Gaskin
This is golang/go#25755, but I'll probably just replace the version before parsing since EPUBs probably aren't going to depend on XML 1.1 features.
Can you email the EPUB to me so I can see what's causing this? I suspect it's due to styling applied to spans or divs, or possibly overly specific selectors.
Does the book render correctly if you just rename it to `.kepub.epub` rather than converting it?
OK, I'll look into it further tomorrow if I have time. Edit: I haven't forgotten about this.
If you're referring to the whitespace and tag node name casing/attribute changes, those are a inherent part of how kepubify works. The HTML5 decoder follows the spec, so it ends...
There is a way to determine it via the `koboSpan`s, and I could abort a conversion from there if it's already a kepub. That would be a breaking change, though.
Are you referring to files converted via the web version?
What happens when you try (I don't have access to an iOS device with Chrome, so I can't test it myself)?
Do you still have this problem?
> check-compliant epub A valid KEPUB is a valid EPUB, except for the `[properties="cover-image"]` on the cover image manifest item if it's an EPUB2. Is there a specific use case...