From: Michael Vogel Date: Sun, 22 Jun 2014 23:25:58 +0000 (+0200) Subject: markdown export for libertree now handles horizontal tulers correct. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=14bacc1e8cb7a19965607ae51a5828d972f5af0e;p=friendica.git markdown export for libertree now handles horizontal tulers correct. --- diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php index eeed19d816..b70a056619 100644 --- a/include/bb2diaspora.php +++ b/include/bb2diaspora.php @@ -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("
", "\n
", $Text); + $Text = str_replace("
", "

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