diff --git a/include/bbcode.php b/include/bbcode.php
index bc30767770..8ef144ea0f 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]).'