Closed xavdid closed 4 years ago
ok, we should be good here! Added extra tests. My editor also removed trailing whitespace (which makes the div look extra big, but it's not). let me know if that's an issue. :)
lgtm, feel free to merge, thanks for improving this:)
sweet! can you release to npm when you have a chance?
hmm, I think you released last time, no?
(if not the case I can add you as a maintainer on npm, if that works for you)
Oh, so I am. I had forgotten. 😁 I'll take care of that!
This is both a little more descriptive about where the error is raised, plus actually broadcasts the error contents. I added a test with a broken version of alice in wonderland (there's an invalid
&
in a chapter title)While I was in there, I added the
files
property so we don't ship tests and theepub
files in the npm package. Drops the package size pretty dramatically.