From 09e63e616aeed14d7a7514b03449454af5935d8a Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Wed, 1 Jun 2016 21:57:08 +0200 Subject: [PATCH] Shared content now has a surrounding div --- include/bbcode.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/include/bbcode.php b/include/bbcode.php index bc3076777..73e8f8fee 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);