forked from friendica/friendica-addons
Merge pull request #115 from tobiasd/snt_newstyle_share
use simple share for SN and T
This commit is contained in:
commit
b178502bfe
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
|
@ -512,7 +512,7 @@ function twitter_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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue