mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-23 01:55:27 +03:00
[TwitterBridge] fix HTML entities decoding in title
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
251d7646b7
commit
9cc00cb212
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ class TwitterBridge extends BridgeAbstract{
|
|||
// extract tweet timestamp
|
||||
$item->timestamp = $tweet->find('span.js-short-timestamp', 0)->getAttribute('data-time');
|
||||
// generate the title
|
||||
$item->title = strip_tags($tweet->find('p.js-tweet-text', 0)->innertext);
|
||||
$item->title = strip_tags(html_entity_decode($tweet->find('p.js-tweet-text', 0)->innertext,ENT_QUOTES,'UTF-8'));
|
||||
|
||||
// processing content links
|
||||
foreach($tweet->find('a') as $link) {
|
||||
|
|
Loading…
Reference in a new issue