diff options
author | Andres Rey <[email protected]> | 2018-03-21 15:14:16 +0000 |
---|---|---|
committer | Andres Rey <[email protected]> | 2018-03-21 15:14:16 +0000 |
commit | 1f02919eded0c37dbcaf6aeb2153d21f18aad495 (patch) | |
tree | 9b4946fac1aa93c6327ab0bc4c4002cef89ae9d4 /src/Readability.php | |
parent | a7b5fa260676c213d456b6a077b17dc52fcdbe0c (diff) |
Clean <aside> tags on prepArticle
Diffstat (limited to 'src/Readability.php')
-rw-r--r-- | src/Readability.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Readability.php b/src/Readability.php index 93fc810..f944244 100644 --- a/src/Readability.php +++ b/src/Readability.php @@ -1175,6 +1175,7 @@ class Readability $this->_clean($article, 'h1'); $this->_clean($article, 'footer'); $this->_clean($article, 'link'); + $this->_clean($article, '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". |