From b9bbc9bdda83c212f026c45c235c437f2114a202 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=9B=20Bu=C5=82oj=C4=8Dyk?= Date: Sat, 23 Mar 2019 18:39:09 +0300 Subject: [PATCH] [FacebookBridge] Fix decoding of cyrillic letters in group names (#842) --- bridges/FacebookBridge.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bridges/FacebookBridge.php b/bridges/FacebookBridge.php index 7b617057..c0901072 100644 --- a/bridges/FacebookBridge.php +++ b/bridges/FacebookBridge.php @@ -219,8 +219,7 @@ class FacebookBridge extends BridgeAbstract { $ogtitle = $html->find('meta[property="og:title"]', 0) or returnServerError('Unable to find group title!'); - return htmlspecialchars_decode($ogtitle->content, ENT_QUOTES); - + return html_entity_decode($ogtitle->content, ENT_QUOTES); } private function extractGroupURI($post) {