[FacebookBridge] Decode all elements in $item (#925)

This commit is contained in:
triatic 2018-11-16 14:25:58 +00:00 committed by LogMANOriginal
parent e5a6baab96
commit 599d438a0d

View file

@ -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) {