remove the sequence 'C2A0' which is a utf8 non breaking space. causing tokenization errors in other javascript parsing tools
This commit is contained in:
parent
acf5cf60d3
commit
46bc6aaec8
2
epub.js
2
epub.js
@ -96,7 +96,7 @@ EPub.prototype.parse = function () {
|
|||||||
* and runs mime type check
|
* and runs mime type check
|
||||||
**/
|
**/
|
||||||
EPub.prototype.open = function () {
|
EPub.prototype.open = function () {
|
||||||
try {
|
try {
|
||||||
this.zip = new ZipFile(this.filename);
|
this.zip = new ZipFile(this.filename);
|
||||||
} catch (E) {
|
} catch (E) {
|
||||||
this.emit("error", new Error("Invalid/missing file"));
|
this.emit("error", new Error("Invalid/missing file"));
|
||||||
|
Reference in New Issue
Block a user