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
1 changed files with 5 additions and 1 deletions
|
@ -1945,7 +1945,11 @@ 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);
|
||||
}
|
||||
|
||||
$body = self::formatPicturePost($item['body']);
|
||||
|
||||
|
|
Loading…
Reference in a new issue