summaryrefslogtreecommitdiff
path: root/src/Readability.php
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2018-03-21 15:14:16 +0000
committerAndres Rey <[email protected]>2018-03-21 15:14:16 +0000
commit1f02919eded0c37dbcaf6aeb2153d21f18aad495 (patch)
tree9b4946fac1aa93c6327ab0bc4c4002cef89ae9d4 /src/Readability.php
parenta7b5fa260676c213d456b6a077b17dc52fcdbe0c (diff)
Clean <aside> tags on prepArticle
Diffstat (limited to 'src/Readability.php')
-rw-r--r--src/Readability.php1
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".