mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-09 16:38:50 +00:00
[FacebookBridge] Decode all elements in $item (#925)
This commit is contained in:
parent
e5a6baab96
commit
599d438a0d
@ -677,10 +677,10 @@ EOD;
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Build and add final item
|
//Build and add final item
|
||||||
$item['uri'] = htmlspecialchars_decode($uri);
|
$item['uri'] = htmlspecialchars_decode($uri, ENT_QUOTES);
|
||||||
$item['content'] = htmlspecialchars_decode($content);
|
$item['content'] = htmlspecialchars_decode($content, ENT_QUOTES);
|
||||||
$item['title'] = $title;
|
$item['title'] = htmlspecialchars_decode($title, ENT_QUOTES);
|
||||||
$item['author'] = $author;
|
$item['author'] = htmlspecialchars_decode($author, ENT_QUOTES);
|
||||||
$item['timestamp'] = $date;
|
$item['timestamp'] = $date;
|
||||||
|
|
||||||
if(strpos($item['content'], '<img') === false) {
|
if(strpos($item['content'], '<img') === false) {
|
||||||
|
Loading…
Reference in New Issue
Block a user