diff --git a/include/bbcode.php b/include/bbcode.php index bc30767770..73e8f8fee3 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -468,6 +468,7 @@ function bb_ShareAttributes($share, $simplehtml) { $text .= "
"; $text .= $headline.'
'.trim($share[3])."

"; + $text .= ""; break; case 5: @@ -489,13 +490,16 @@ function bb_ShareAttributes($share, $simplehtml) { $text .= "

".$link; break; default: - $headline = trim($share[1]).'
'; + $headline = trim($share[1])."\n"; + $headline .= '
'."\n"; + $headline .= '
'."\n"; if ($avatar != "") $headline .= ''; $headline .= sprintf(t('%s wrote the following post'.$reldate.':'), $profile, $author, $link); - $headline .= "
"; - $text = $headline.'
'.trim($share[3])."
"; + $headline .= "
\n"; + $text = $headline.'
'.trim($share[3])."
\n"; + $text .= "
\n"; break; } return($text);