Skip to content

Commit

Permalink
Clean <aside> tags on _prepArticle
Browse files Browse the repository at this point in the history
  • Loading branch information
andreskrey authored and gijsk committed Mar 23, 2018
1 parent f8d9b1c commit 6fd8164
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Readability.js
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,7 @@ Readability.prototype = {
this._clean(articleContent, "h1");
this._clean(articleContent, "footer");
this._clean(articleContent, "link");
this._clean(articleContent, "aside");

// Clean out elements have "share" in their id/class combinations from final top candidates,
// which means we don't remove the top candidates even they have "share".
Expand Down

0 comments on commit 6fd8164

Please sign in to comment.