remove the sequence 'C2A0' which is a utf8 non breaking space. causing tokenization errors in other javascript parsing tools

This commit is contained in:
Aaron Brady 2015-10-02 09:51:58 -07:00
parent acf5cf60d3
commit 46bc6aaec8

View File

@ -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"));