X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fbb2diaspora.php;h=7107c4913950f130e3638c7cb59a40293b386af3;hb=96c642661e0d12e4fb20ac7836adc9d4984cd89f;hp=d836f325e85cfa0aa2f634ae468ff39e6803e14d;hpb=d0ddf00efea897ab703af1bbdcb7cd5cd0cf6610;p=friendica.git diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php index d836f325e8..7107c49139 100644 --- a/include/bb2diaspora.php +++ b/include/bb2diaspora.php @@ -90,8 +90,9 @@ function bb2diaspora($Text,$preserve_nl = false, $fordiaspora = true) { } else { $Text = bbcode($Text, $preserve_nl, false, 4); + // Libertree doesn't convert a harizontal rule if there isn't a linefeed - $Text = str_replace("
", "

", $Text); + $Text = str_replace(array("
", "
"), array("

", "

"), $Text); } // Now convert HTML to Markdown