mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 11:23:40 +00:00
fbsync: added a trim to the content.
This commit is contained in:
parent
1754b58cd9
commit
6c01df6b09
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ function fbsync_createpost($a, $uid, $self, $contacts, $applications, $post, $cr
|
||||||
$postarray["body"] .= "[class=type-".$type."]";
|
$postarray["body"] .= "[class=type-".$type."]";
|
||||||
|
|
||||||
if ($content)
|
if ($content)
|
||||||
$postarray["body"] .= $content;
|
$postarray["body"] .= trim($content);
|
||||||
|
|
||||||
if ($quote)
|
if ($quote)
|
||||||
$postarray["body"] .= "\n[quote]".trim($quote)."[/quote]";
|
$postarray["body"] .= "\n[quote]".trim($quote)."[/quote]";
|
||||||
|
|
Loading…
Reference in a new issue