From 46bc6aaec8b645e4b021e10fd9497fa2021dcb7d Mon Sep 17 00:00:00 2001 From: Aaron Brady Date: Fri, 2 Oct 2015 09:51:58 -0700 Subject: [PATCH] remove the sequence 'C2A0' which is a utf8 non breaking space. causing tokenization errors in other javascript parsing tools --- epub.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epub.js b/epub.js index debdc69..042eb04 100644 --- a/epub.js +++ b/epub.js @@ -96,7 +96,7 @@ EPub.prototype.parse = function () { * and runs mime type check **/ EPub.prototype.open = function () { - try { + try { this.zip = new ZipFile(this.filename); } catch (E) { this.emit("error", new Error("Invalid/missing file"));