use simple style for sharing on SN

This commit is contained in:
Tobias Diekershoff 2013-04-12 09:12:05 +02:00
parent 3864d115c8
commit 4c6e650548

View File

@ -656,7 +656,7 @@ function statusnet_post_hook(&$a,&$b) {
// ok, all the links we want to send out are save, now strip // ok, all the links we want to send out are save, now strip
// away the remaining bbcode // away the remaining bbcode
//$msg = strip_tags(bbcode($tmp, false, false)); //$msg = strip_tags(bbcode($tmp, false, false));
$msg = bbcode($tmp, false, false); $msg = bbcode($tmp, false, false, true);
$msg = str_replace(array('<br>','<br />'),"\n",$msg); $msg = str_replace(array('<br>','<br />'),"\n",$msg);
$msg = strip_tags($msg); $msg = strip_tags($msg);