diff --git a/include/bbcode.php b/include/bbcode.php index 25d60647f..8efeabb8b 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -534,10 +534,14 @@ function bb_ShareAttributes($share, $simplehtml) { if ($text != "") $text .= "
"; - $text .= $headline.'
'.trim($share[3])."

"; + if (substr(normalise_link($link), 0, 19) != "http://twitter.com/") { + $text .= $headline.'
'.trim($share[3])."

"; + + if ($link != "") + $text .= '
[l]'; + } else + $text .= '
'.$link.''; - if ($link != "") - $text .= '
[l]'; break; case 4: $headline = '
';