X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FProtocol%2FFeed.php;h=c088876d93f4834d10d908a95d446c30619404e9;hb=d6c1e1fd1c8897c6a26a60486448c699e65843a8;hp=bed67faacd6b7fa7add9587355d81e6ab201581b;hpb=37a76e70efe66d3181747947b0355ce934cf27d6;p=friendica.git diff --git a/src/Protocol/Feed.php b/src/Protocol/Feed.php index bed67faacd..c088876d93 100644 --- a/src/Protocol/Feed.php +++ b/src/Protocol/Feed.php @@ -1109,7 +1109,7 @@ class Feed $body = OStatus::formatPicturePost($item['body'], $item['uri-id']); - $body = BBCode::convert($body, false, BBCode::OSTATUS, false, $item['uri-id']); + $body = BBCode::convertForUriId($item['uri-id'], $body, BBCode::OSTATUS, false); XML::addElement($doc, $entry, "content", $body, ["type" => "html"]); @@ -1186,7 +1186,7 @@ class Feed private static function getTitle(array $item) { if ($item['title'] != '') { - return BBCode::convert($item['title'], false, BBCode::OSTATUS, false, $item['uri-id']); + return BBCode::convertForUriId($item['uri-id'], $item['title'], BBCode::OSTATUS); } // Fetch information about the post