[FacebookBridge] Fix decoding of cyrillic letters in group names (#842)

This commit is contained in:
Aleś Bułojčyk 2019-03-23 18:39:09 +03:00 committed by LogMANOriginal
parent 835e3b1163
commit b9bbc9bdda

View file

@ -219,8 +219,7 @@ class FacebookBridge extends BridgeAbstract {
$ogtitle = $html->find('meta[property="og:title"]', 0) $ogtitle = $html->find('meta[property="og:title"]', 0)
or returnServerError('Unable to find group title!'); 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) { private function extractGroupURI($post) {