1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-02 14:47:35 +02:00

[VkBridge] Remove junky 'Show more' button (#3176)

This commit is contained in:
Eugene Molotov
2022-12-03 08:58:25 +05:00
committed by GitHub
parent 0423e1f268
commit fdf380bccd

View File

@@ -76,9 +76,9 @@ class VkBridge extends BridgeAbstract
$is_pinned_post = true; $is_pinned_post = true;
} }
if (is_object($post->find('a.wall_post_more', 0))) { // Remove 'Show more' button
//delete link "show full" in content foreach ($post->find('button.PostTextMore') as $junk) {
$post->find('a.wall_post_more', 0)->outertext = ''; $junk->outertext = '';
} }
$content_suffix = ''; $content_suffix = '';