mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
Update Readability from mozilla-central release branch (FF 60.0).
This commit is contained in:
parent
aa5e85f67d
commit
669f3729fd
3 changed files with 57 additions and 33 deletions
|
|
@ -47,7 +47,7 @@ var Agent = {
|
|||
* @return {object} Article object returned from Readability.
|
||||
*/
|
||||
parseDocument(uri, serializedDoc, options) {
|
||||
let doc = new JSDOMParser().parse(serializedDoc);
|
||||
let doc = new JSDOMParser().parse(serializedDoc, uri.spec);
|
||||
return new Readability(uri, doc, options).parse();
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue