1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-11 19:14:09 +02:00

TwitterBridge*: fix HTML entities in title

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
Pierre Mazière
2016-07-08 16:11:57 +02:00
parent 4b179144c1
commit f05bd15393
3 changed files with 3 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ class TwitterBridgeClean extends BridgeAbstract{
$link->removeAttribute('dir');
}
$item->content = str_replace('pic.twitter.com', 'https://pic.twitter.com', strip_tags($tweet->find('p.js-tweet-text', 0)->innertext)); // extract tweet text
$item->title = $item->content;
$item->title = html_entity_decode($item->content,ENT_QUOTES,'UTF-8');
$this->items[] = $item;
}
}