use simple share for SN and T #115

Merged
tobiasd merged 2 commits from snt_newstyle_share into master 2013-04-12 18:41:07 +02:00
2 changed files with 2 additions and 2 deletions
statusnet
twitter

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
// away the remaining bbcode
//$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 = strip_tags($msg);

View file

@ -512,7 +512,7 @@ function twitter_post_hook(&$a,&$b) {
// ok, all the links we want to send out are save, now strip
// away the remaining bbcode
//$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 = strip_tags($msg);