From d784bf7e20e25ec1b3a6102a20c83d35fe3ef87d Mon Sep 17 00:00:00 2001 From: Radhi Fadlillah Date: Thu, 26 Mar 2020 20:22:54 +0700 Subject: [PATCH] Add method to unwrap img inside noscript --- Readability.js | 58 + .../lazy-image-1/expected-metadata.json | 8 + test/test-pages/lazy-image-1/expected.html | 240 ++++ test/test-pages/lazy-image-1/source.html | 1277 +++++++++++++++++ 4 files changed, 1583 insertions(+) create mode 100644 test/test-pages/lazy-image-1/expected-metadata.json create mode 100644 test/test-pages/lazy-image-1/expected.html create mode 100644 test/test-pages/lazy-image-1/source.html diff --git a/Readability.js b/Readability.js index 3093879..d60259f 100644 --- a/Readability.js +++ b/Readability.js @@ -1316,6 +1316,61 @@ Readability.prototype = { return metadata; }, + /** + * Find all