From 4c6e650548da193431c2b9d402c99cab0265ca73 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Fri, 12 Apr 2013 09:12:05 +0200 Subject: [PATCH 1/2] use simple style for sharing on SN --- statusnet/statusnet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statusnet/statusnet.php b/statusnet/statusnet.php index 76ba18fb..f2f8a5f7 100755 --- a/statusnet/statusnet.php +++ b/statusnet/statusnet.php @@ -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('
','
'),"\n",$msg); $msg = strip_tags($msg); From 17b367688339f5eea7bc56371d31df45919d1e74 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Fri, 12 Apr 2013 09:13:33 +0200 Subject: [PATCH 2/2] use simple style for sharing on twitter --- twitter/twitter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twitter/twitter.php b/twitter/twitter.php index 43009709..c07d3b58 100755 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -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('
','
'),"\n",$msg); $msg = strip_tags($msg);