From: Michael Vogel Date: Fri, 3 Apr 2015 10:37:29 +0000 (+0200) Subject: The conversion of Repeated posts to markdown had a problem with a missing linefeed... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7c0c56d20b97f9005f175388b36128edfcd683b4;p=friendica.git The conversion of Repeated posts to markdown had a problem with a missing linefeed before the quote. --- diff --git a/include/bbcode.php b/include/bbcode.php index 63406689a1..ef791d9e7c 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]';