fbpost/gpluspost: New design for shared content

This commit is contained in:
Michael Vogel 2014-07-25 00:26:34 +02:00
parent 520c2514f2
commit d3fa9a7b21
2 changed files with 2 additions and 2 deletions

View 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"];

View 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);