[FacebookBridge] Decode all elements in $item (#925)
This commit is contained in:
parent
e5a6baab96
commit
599d438a0d
1 changed files with 4 additions and 4 deletions
|
@ -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 a new issue