$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>",
// 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;
}