diff options
author | Andres Rey <[email protected]> | 2018-03-10 18:45:42 +0000 |
---|---|---|
committer | Andres Rey <[email protected]> | 2018-03-10 18:45:42 +0000 |
commit | 1fb32a84e1452fe89eb9db4a56f4000b6900dda7 (patch) | |
tree | f9dffe1858d0fb187227dcfb89704cd0f0b379e8 | |
parent | d6615c87857eed1d486c0f90c1a9d909ff262d13 (diff) |
Clean link tags
-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 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". |