summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2018-03-10 18:45:42 +0000
committerAndres Rey <[email protected]>2018-03-10 18:45:42 +0000
commit1fb32a84e1452fe89eb9db4a56f4000b6900dda7 (patch)
treef9dffe1858d0fb187227dcfb89704cd0f0b379e8
parentd6615c87857eed1d486c0f90c1a9d909ff262d13 (diff)
Clean link tags
-rw-r--r--src/Readability.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Readability.php b/src/Readability.php
index c17911c..2ec3c4a 100644
--- a/src/Readability.php
+++ b/src/Readability.php
@@ -1133,6 +1133,7 @@ class Readability
$this->_clean($article, 'embed');
$this->_clean($article, 'h1');
$this->_clean($article, 'footer');
+ $this->_clean($article, 'link');
// 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".