Apply correct title encoding to all cases
This commit is contained in:
parent
af38d22d38
commit
dd65c5d150
|
@ -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']);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue