From: Alexandre Alapetite Date: Sat, 17 Nov 2018 00:30:53 +0000 (+0100) Subject: Apply correct title encoding to all cases X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=dd65c5d150d0732b8b8c7a773665e73946d37a3a;p=friendica.git Apply correct title encoding to all cases --- diff --git a/src/Protocol/OStatus.php b/src/Protocol/OStatus.php index 557277fe81..5f5066d75c 100644 --- a/src/Protocol/OStatus.php +++ b/src/Protocol/OStatus.php @@ -1945,11 +1945,7 @@ class OStatus } XML::addElement($doc, $entry, "id", $item["uri"]); - if ($feed_mode) { - XML::addElement($doc, $entry, "title", html_entity_decode($title, ENT_QUOTES, 'UTF-8')); - } else { - XML::addElement($doc, $entry, "title", $title); - } + XML::addElement($doc, $entry, "title", html_entity_decode($title, ENT_QUOTES, 'UTF-8')); $body = self::formatPicturePost($item['body']);