[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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

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 = '';