Fix ATOM feed title encoding
Was HTML-encoded instead of plain Unicode. Fixed only for feed_mode. Probably wrong as well for non_feed mode (not sure how to test)
This commit is contained in:
parent
460c257cb4
commit
af38d22d38
|
@ -1945,7 +1945,11 @@ 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'));
|
||||||
|
} else {
|
||||||
XML::addElement($doc, $entry, "title", $title);
|
XML::addElement($doc, $entry, "title", $title);
|
||||||
|
}
|
||||||
|
|
||||||
$body = self::formatPicturePost($item['body']);
|
$body = self::formatPicturePost($item['body']);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user