marijnh / Eloquent-JavaScript

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

Apple Books error: error on line 136 at column 15: AttValue: " or ' expected #571

Closed dcaaraujo closed 4 months ago

dcaaraujo commented 4 months ago

Hello

I downloaded the epub version of the book and opened it in Apple Books. However, I got the following error:

IMG_0045

I cloned the repo and I'll see if I can find the issue. However, it seems the version I compiled using make book.epub has errors when I run it though epubcheck.

Check finished with errors
Messages: 24 fatals / 332 errors / 10 warnings / 0 infos
marijnh commented 4 months ago

Oh indeed, can't have unquoted attributes in xhtml. I think attached patch should help.