mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Call correct parsing method
This commit is contained in:
parent
612822f5a3
commit
8756a52a54
1 changed files with 2 additions and 2 deletions
|
|
@ -519,8 +519,8 @@ Readability.prototype = {
|
|||
return res
|
||||
}
|
||||
|
||||
const width = parseNumber(image.getAttribute('width') || image.style.width);
|
||||
const height = parseNumber(image.getAttribute('height') || image.style.height);
|
||||
const width = parseInt(image.getAttribute('width') || image.style.width);
|
||||
const height = parseInt(image.getAttribute('height') || image.style.height);
|
||||
|
||||
const proxySrc = this.createImageProxyUrl(absoluteSrc, width, height);
|
||||
image.setAttribute('src', proxySrc);
|
||||
|
|
|
|||
Loading…
Reference in a new issue