Skip to content

Commit

Permalink
Epub.js: fix incorrect patch... again
Browse files Browse the repository at this point in the history
  • Loading branch information
johnfactotum committed Jul 6, 2020
1 parent 4945f5d commit d4aa426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/epub.js
Original file line number Diff line number Diff line change
Expand Up @@ -18879,7 +18879,7 @@ class archive_Archive {
} else if (type == "xhtml") {
r = Object(core["parse"])(response, "application/xhtml+xml");
} else if (type == "html" || type == "htm") {
r = Object(core["parse"])(this.response, /<\s*a[^>]*\/>/gi.test(this.response) ? "application/xhtml+xml" : "text/html");
r = Object(core["parse"])(response, /<\s*a[^>]*\/>/gi.test(response) ? "application/xhtml+xml" : "text/html");
} else {
r = response;
}
Expand Down

0 comments on commit d4aa426

Please sign in to comment.