... | ... |
@@ -103,6 +103,8 @@ foreach ($articles as $article ) { |
103 | 103 |
$article_only = preg_replace('/<li class="twite__channel-out (.+?)" aria-hidden="true">/', '<li>', $article_only); |
104 | 104 |
$article_only = preg_replace('/<li class="twite__channel twite__channel--(.+?) twite__channel-click--(.+?)">/', '<li>', $article_only); |
105 | 105 |
|
106 |
+ $re = '/<div class="vxp-media__share-tools"/'; |
|
107 |
+ $article_only = preg_replace($re, '<div class="vxp-media__share-tools" style="display:none;">', $article_only); |
|
106 | 108 |
|
107 | 109 |
//Finally remove empty lines |
108 | 110 |
$article_only = preg_replace("/(^[\r\n]*|[\r\n]+)[\s\t]*[\r\n]+/", "\n", $article_only); |