Merge pull request #6145 from Alkarex/ATOM-title-encoding

Fix ATOM feed entry titles encoding
This commit is contained in:
Hypolite Petovan 2018-11-17 07:01:53 -05:00 committed by GitHub
commit 9e25270699
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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