]> git.mxchange.org Git - friendica-addons.git/commitdiff
fbpost/gpluspost: New design for shared content
authorMichael Vogel <icarus@dabo.de>
Thu, 24 Jul 2014 22:26:34 +0000 (00:26 +0200)
committerMichael Vogel <icarus@dabo.de>
Thu, 24 Jul 2014 22:26:34 +0000 (00:26 +0200)
fbpost/fbpost.php
gpluspost/gpluspost.php

index f4f29f1e827987c203a07999e97f9d4ba4ab0a81..b0e383e46232db287410b39ae9b6d148b9b4787c 100644 (file)
@@ -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"];
index 415e031b2629780a43f5cf75bfcae567922cd052..1df6e7500858e72062cb06314e62fd070df3ce92 100644 (file)
@@ -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);