]> git.mxchange.org Git - friendica-addons.git/commitdiff
fbsync: added a trim to the content.
authorMichael Vogel <icarus@dabo.de>
Sun, 2 Mar 2014 00:44:00 +0000 (01:44 +0100)
committerMichael Vogel <icarus@dabo.de>
Sun, 2 Mar 2014 00:44:00 +0000 (01:44 +0100)
fbsync/fbsync.php

index b4a191ca26ea6bf2ad8ffc09450bc3c6a8165cb0..ee70481c0a980b3734a7185dcc123324fe10a3ea 100644 (file)
@@ -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]";