Remove line to check data url since it already handled by new URL

pull/590/head
Radhi Fadlillah 4 years ago
parent 677be5ef1b
commit 4fd18f40d1

@ -345,11 +345,6 @@ Readability.prototype = {
return uri;
}
// If it's data uri, return as it is
if (uri.startsWith("data:")) {
return uri;
}
// Otherwise, resolve against base URI:
try {
return new URL(uri, baseURI).href;

Loading…
Cancel
Save