]> git.mxchange.org Git - friendica.git/blobdiff - include/bb2diaspora.php
Let an item be accssible via the GUI (additionally to uid and item id)
[friendica.git] / include / bb2diaspora.php
index eeed19d81686a150b9be58609243f2d5a684f74a..b70a056619f9b8f927fc53032982e11dd859bf7f 100644 (file)
@@ -78,7 +78,7 @@ 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("<hr />", "\n<hr />", $Text);
+               $Text = str_replace("<hr />", "<br /><hr />", $Text);
        }
 
        // Now convert HTML to Markdown