diff --git a/mobile/android/chrome/content/Readability.js b/mobile/android/chrome/content/Readability.js index 9612fc87ea0b..ef6e79154e0d 100644 --- a/mobile/android/chrome/content/Readability.js +++ b/mobile/android/chrome/content/Readability.js @@ -179,10 +179,7 @@ Readability.prototype = { if (curTitle.split(' ').length <= 4) curTitle = origTitle; - let articleTitle = doc.createElement("H1"); - articleTitle.innerHTML = curTitle; - - return articleTitle; + return curTitle; }, /** @@ -1355,7 +1352,7 @@ Readability.prototype = { // }).bind(this), 500); // } - return { title: this._getInnerText(articleTitle), + return { title: articleTitle, byline: this._articleByline, content: articleContent.innerHTML }; }