From: Michael Vogel Date: Sun, 2 Mar 2014 00:44:00 +0000 (+0100) Subject: fbsync: added a trim to the content. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6c01df6b096c061e37e903fde46cebb36cf746cb;p=friendica-addons.git fbsync: added a trim to the content. --- diff --git a/fbsync/fbsync.php b/fbsync/fbsync.php index b4a191ca..ee70481c 100644 --- a/fbsync/fbsync.php +++ b/fbsync/fbsync.php @@ -328,7 +328,7 @@ function fbsync_createpost($a, $uid, $self, $contacts, $applications, $post, $cr $postarray["body"] .= "[class=type-".$type."]"; if ($content) - $postarray["body"] .= $content; + $postarray["body"] .= trim($content); if ($quote) $postarray["body"] .= "\n[quote]".trim($quote)."[/quote]";