// Maybe we should make this newline at every time before a quote.
$text = str_replace(['</a><blockquote>'], ['</a><br><blockquote>'], $text);
+ // The converter doesn't convert these elements
+ $text = str_replace(['<div>', '</div>'], ['<p>', '</p>'], $text);
+
// Now convert HTML to Markdown
$text = HTML::toMarkdown($text);
$result = DI::cache()->get($cachekey);
if (!is_null($result)) {
- return $result;
+// return $result;
}
$myaddr = self::myHandle($owner);
if ($item['event-id'] > 0) {
$event = self::buildEvent($item['event-id']);
if (count($event)) {
- $message['event'] = $event;
+ // Deactivated, since Diaspora seems to have problems with the processing.
+ // $message['event'] = $event;
if (
!empty($event['location']['address']) &&