From: Michael Vogel Date: Thu, 24 Jul 2014 22:26:34 +0000 (+0200) Subject: fbpost/gpluspost: New design for shared content X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d3fa9a7b2136102a4ce8dabd93382ace2f712dbb;p=friendica-addons.git fbpost/gpluspost: New design for shared content --- diff --git a/fbpost/fbpost.php b/fbpost/fbpost.php index f4f29f1e..b0e383e4 100644 --- a/fbpost/fbpost.php +++ b/fbpost/fbpost.php @@ -564,7 +564,7 @@ function fbpost_post_hook(&$a,&$b) { if ($toplevel) { require_once("include/plaintext.php"); - $msgarr = plaintext($a, $b, 0, false); + $msgarr = plaintext($a, $b, 0, false, 9); $msg = $msgarr["text"]; $link = $msgarr["url"]; $linkname = $msgarr["title"]; diff --git a/gpluspost/gpluspost.php b/gpluspost/gpluspost.php index 415e031b..1df6e750 100644 --- a/gpluspost/gpluspost.php +++ b/gpluspost/gpluspost.php @@ -271,7 +271,7 @@ function gpluspost_send(&$a,&$b) { $item["body"] = preg_replace("(\[i\](.*?)\[\/i\])ism",'_$1_',$item["body"]); $item["body"] = preg_replace("(\[s\](.*?)\[\/s\])ism",'-$1-',$item["body"]); - $data = plaintext($a, $item, 0, false); + $data = plaintext($a, $item, 0, false, 9); logger('gpluspost_send: data: '.print_r($data, true), LOGGER_DEBUG);