Merge pull request #19 from abrady0/master
remove the sequence 'C2A0' which is a utf8 non breaking space.
This commit is contained in:
commit
13a4f84fc9
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