Use a more simple HTML for API output

This commit is contained in:
Michael 2018-02-10 13:33:15 +00:00
parent 8b557c3157
commit 30cfca40d8
2 changed files with 2 additions and 2 deletions

View file

@ -2647,7 +2647,7 @@ function api_convert_item($item)
$statustext = substr($statustext, 0, 1000)."... \n".$item["plink"];
}
$statushtml = trim(bbcode($body, false, false));
$statushtml = bbcode(api_clean_attachments($body), false, false);
// Workaround for clients with limited HTML parser functionality
$search = ["<br>", "<blockquote>", "</blockquote>",