mirror of
https://github.com/friendica/friendica
synced 2025-04-23 19:10:13 +00:00
Fix transmission of events to Diaspora
This commit is contained in:
parent
0d6974a6d2
commit
4f37f68bd7
2 changed files with 6 additions and 2 deletions
|
@ -2171,6 +2171,9 @@ class BBCode
|
|||
// 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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue