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