1
0
Fork 0

Apply correct title encoding to all cases

This commit is contained in:
Alexandre Alapetite 2018-11-17 01:30:53 +01:00
parent af38d22d38
commit dd65c5d150

View file

@ -1945,11 +1945,7 @@ class OStatus
} }
XML::addElement($doc, $entry, "id", $item["uri"]); XML::addElement($doc, $entry, "id", $item["uri"]);
if ($feed_mode) { XML::addElement($doc, $entry, "title", html_entity_decode($title, ENT_QUOTES, 'UTF-8'));
XML::addElement($doc, $entry, "title", html_entity_decode($title, ENT_QUOTES, 'UTF-8'));
} else {
XML::addElement($doc, $entry, "title", $title);
}
$body = self::formatPicturePost($item['body']); $body = self::formatPicturePost($item['body']);