diff --git a/bridges/VkBridge.php b/bridges/VkBridge.php index 967734ef..8c18f26a 100644 --- a/bridges/VkBridge.php +++ b/bridges/VkBridge.php @@ -84,7 +84,10 @@ class VkBridge extends BridgeAbstract foreach ($html->find('div.replies') as $comment_block) { $comment_block->outertext = ''; } - $html->load($html->save()); + + // expensive operation + $save = $html->save(); + $html->load($save); $pinned_post_item = null; $last_post_id = 0;