1
0
Fork 0
forked from blallo/rss-bridge

Merge pull request #283 from teromene/pmaziere-YoutubeBridgeFix

Pull request from pmaziere - Fix encoding in YoutubeBridge.
This commit is contained in:
Mitsu 2016-06-26 16:31:06 +02:00 committed by GitHub
commit 66c79e4b67

View file

@ -118,7 +118,7 @@ class YoutubeBridge extends BridgeAbstract {
private function ytBridgeFixTitle($title) {
// convert both Ӓ and " to UTF-8
return html_entity_decode(mb_convert_encoding(trim($title), 'UTF-8', 'HTML-ENTITIES'));
return html_entity_decode($title,ENT_QUOTES,'UTF-8');
}
public function collectData(array $param) {