From 7c0c56d20b97f9005f175388b36128edfcd683b4 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Fri, 3 Apr 2015 12:37:29 +0200 Subject: [PATCH] The conversion of Repeated posts to markdown had a problem with a missing linefeed before the quote. --- include/bbcode.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/bbcode.php b/include/bbcode.php index 63406689a..ef791d9e7 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -509,9 +509,7 @@ function bb_ShareAttributes($share, $simplehtml) { $text = $preshare.html_entity_decode("♲ ", ENT_QUOTES, 'UTF-8').' '.$userid_compact.":
".$share[3]; break; case 3: // Diaspora - $headline = '
'; - $headline .= ''.html_entity_decode("♲ ", ENT_QUOTES, 'UTF-8').$userid.':'; - $headline .= "
"; + $headline .= ''.html_entity_decode("♲ ", ENT_QUOTES, 'UTF-8').$userid.':
'; $text = trim($share[1]); @@ -519,7 +517,7 @@ function bb_ShareAttributes($share, $simplehtml) { $text .= "
"; if (substr(normalise_link($link), 0, 19) != "http://twitter.com/") { - $text .= $headline.'
'.trim($share[3])."

"; + $text .= $headline.'
'.trim($share[3])."

"; if ($link != "") $text .= '
[l]';