Apply correct title encoding to all cases

pull/6145/head
Alexandre Alapetite 2018-11-17 01:30:53 +01:00
parent af38d22d38
commit dd65c5d150
1 changed files with 1 additions and 5 deletions

View File

@ -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']);