diff --git a/include/bbcode.php b/include/bbcode.php
index bc3076777..8ef144ea0 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -489,13 +489,16 @@ function bb_ShareAttributes($share, $simplehtml) {
$text .= "
".$link;
break;
default:
- $headline = trim($share[1]).'
'.trim($share[3]).""; + $headline .= "
'.trim($share[3])."\n"; + $text .= "