marijnh / Eloquent-JavaScript

The sources for the Eloquent JavaScript book
https://eloquentjavascript.net
3.01k stars 793 forks source link

Can't upload epub file to Google Play Books #470

Closed jkevingutierrez closed 5 years ago

jkevingutierrez commented 5 years ago

Hi,

Awesome book! I'm just trying to upload it to Google Play Books but I cannot upload it. I tried to run this validator: http://validator.idpf.org/application/validate and I got the next Fatal error: ` Type File Line Position Message
FATAL frontmatter.xhtml 44 62 Fatal Error while parsing file 'The reference to entity "asin-com" must end with the ';' delimiter.'.

`

marijnh commented 5 years ago

Ah, I recently broke that it seems—epub uses xhtml, which is way stricter about all kinds of things than html. Attached patch should help.