diff --git a/include/bbcode.php b/include/bbcode.php
index 84969dab9f..2f4b3df77e 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -452,7 +452,7 @@ function bb_ShareAttributes($share, $simplehtml) {
case 2:
$text = $preshare.html_entity_decode("♲ ", ENT_QUOTES, 'UTF-8').' '.$userid_compact.":
".$share[3];
break;
- case 3:
+ case 3: // Diaspora
$headline = '
";
@@ -484,15 +484,21 @@ function bb_ShareAttributes($share, $simplehtml) {
case 5:
$text = $preshare.html_entity_decode("♲ ", ENT_QUOTES, 'UTF-8').' '.$userid_compact.":
".$share[3];
break;
- case 6:
+ case 6: // app.net
$text = $preshare.">> @".$userid_compact.":
".$share[3];
break;
- case 7:
+ case 7: // statusnet/GNU Social
$text = $preshare.html_entity_decode("♲ ", ENT_QUOTES, 'UTF-8')." @".$userid_compact.": ".$share[3];
break;
- case 8:
+ case 8: // twitter
$text = $preshare."RT @".$userid_compact.": ".$share[3];
break;
+ case 9: // Google+/Facebook
+ $text = $preshare.html_entity_decode("♲ ", ENT_QUOTES, 'UTF-8').' '.$userid_compact.":
".$share[3];
+
+ if ($link != "")
+ $text .= "
".$link;
+ break;
default:
$headline = trim($share[1]).'