From: Michael Date: Tue, 3 Sep 2019 21:11:33 +0000 (+0000) Subject: API Support "friendica_html" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a7d23a1196c5895222d576c406a82dcbd516d14f;p=friendica.git API Support "friendica_html" --- diff --git a/include/api.php b/include/api.php index 4be0ff24af..bdab20b75a 100644 --- a/include/api.php +++ b/include/api.php @@ -3040,6 +3040,8 @@ function api_format_item($item, $type = "json", $status_user = null, $author_use 'statusnet_conversation_id' => $item['parent'], 'external_url' => System::baseUrl() . "/display/" . $item['guid'], 'friendica_activities' => api_format_items_activities($item, $type), + 'friendica_title' => $item['title'], + 'friendica_html' => BBCode::convert($item['body'], false) ]; if (count($converted["attachments"]) > 0) {