mirror of
https://github.com/friendica/friendica
synced 2024-11-18 23:03:40 +00:00
Use a more simple HTML for API output
This commit is contained in:
parent
8b557c3157
commit
30cfca40d8
2 changed files with 2 additions and 2 deletions
|
@ -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>",
|
||||
|
|
|
@ -2412,7 +2412,7 @@ class DFRN
|
|||
|
||||
// Is there an existing item?
|
||||
if (DBM::is_result($current) && !self::isEditedTimestampNewer($current[0], $item)) {
|
||||
logger("Item ".$item["uri"]." already existed in this version.", LOGGER_DEBUG);
|
||||
logger("Item ".$item["uri"]." (".$item['edited'].") already existed.", LOGGER_DEBUG);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue