mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 10:04:54 +02:00
TwitterBridge*: fix HTML entities in title
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
4b179144c1
commit
f05bd15393
3 changed files with 3 additions and 3 deletions
|
@ -65,7 +65,7 @@ class TwitterBridge extends BridgeAbstract{
|
|||
$link->removeAttribute('title');
|
||||
}
|
||||
$item->content = str_replace('href="/', 'href="https://twitter.com/', strip_tags($tweet->find('p.js-tweet-text', 0)->innertext, '<a>')); // extract tweet text
|
||||
$item->title = $item->fullname . ' (@' . $item->username . ') | ' . strip_tags($item->content);
|
||||
$item->title = $item->fullname . ' (@' . $item->username . ') | ' . html_entity_decode(strip_tags($item->content),ENT_QUOTES,'UTF-8');
|
||||
$this->items[] = $item;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue