From 327bfcb93ff3654e20be1b79a1d66e83c54980c2 Mon Sep 17 00:00:00 2001 From: usergit Date: Tue, 3 May 2016 23:59:39 -0700 Subject: [PATCH] exposed textContent to be returned this returns the text content only, this is useful as it allows the content to be easily accessible --- Readability.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Readability.js b/Readability.js index 5278944..c34efa1 100644 --- a/Readability.js +++ b/Readability.js @@ -1831,6 +1831,7 @@ Readability.prototype = { dir: this._articleDir, content: articleContent.innerHTML, length: articleContent.textContent.length, + textContent: articleContent.textContent, excerpt: metadata.excerpt }; } };