1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-01 22:30:14 +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;
}
if (is_object($post->find('a.wall_post_more', 0))) {
//delete link "show full" in content
$post->find('a.wall_post_more', 0)->outertext = '';
// Remove 'Show more' button
foreach ($post->find('button.PostTextMore') as $junk) {
$junk->outertext = '';
}
$content_suffix = '';