From d583b0c974b7d6fd62b724bfad2bf01a8b1fae02 Mon Sep 17 00:00:00 2001 From: Eugene Molotov Date: Sat, 17 Mar 2018 13:38:10 +0500 Subject: [PATCH] [VkBridge] Convert special HTML entities to characters in pageName --- bridges/VkBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/VkBridge.php b/bridges/VkBridge.php index 4eba9610..2f07c40a 100644 --- a/bridges/VkBridge.php +++ b/bridges/VkBridge.php @@ -45,7 +45,7 @@ class VkBridge extends BridgeAbstract $text_html = iconv('windows-1251', 'utf-8', $text_html); $html = str_get_html($text_html); $pageName = $html->find('.page_name', 0)->plaintext; - $this->pageName = $pageName; + $this->pageName = htmlspecialchars_decode($pageName); foreach ($html->find('.post') as $post) {