From 14bacc1e8cb7a19965607ae51a5828d972f5af0e Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Mon, 23 Jun 2014 01:25:58 +0200 Subject: [PATCH] markdown export for libertree now handles horizontal tulers correct. --- include/bb2diaspora.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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