From d3fa9a7b2136102a4ce8dabd93382ace2f712dbb Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Fri, 25 Jul 2014 00:26:34 +0200 Subject: [PATCH] fbpost/gpluspost: New design for shared content --- fbpost/fbpost.php | 2 +- gpluspost/gpluspost.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);