From 599d438a0d48d55cca7a625436ac516e538b4f47 Mon Sep 17 00:00:00 2001 From: triatic <42704418+triatic@users.noreply.github.com> Date: Fri, 16 Nov 2018 14:25:58 +0000 Subject: [PATCH] [FacebookBridge] Decode all elements in $item (#925) --- bridges/FacebookBridge.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bridges/FacebookBridge.php b/bridges/FacebookBridge.php index ab39c10e..0bc96120 100644 --- a/bridges/FacebookBridge.php +++ b/bridges/FacebookBridge.php @@ -677,10 +677,10 @@ EOD; } //Build and add final item - $item['uri'] = htmlspecialchars_decode($uri); - $item['content'] = htmlspecialchars_decode($content); - $item['title'] = $title; - $item['author'] = $author; + $item['uri'] = htmlspecialchars_decode($uri, ENT_QUOTES); + $item['content'] = htmlspecialchars_decode($content, ENT_QUOTES); + $item['title'] = htmlspecialchars_decode($title, ENT_QUOTES); + $item['author'] = htmlspecialchars_decode($author, ENT_QUOTES); $item['timestamp'] = $date; if(strpos($item['content'], '