aboutsummaryrefslogtreecommitdiffstats
path: root/include/api.php
diff options
context:
space:
mode:
authorChristian Vogeley <christian.vogeley@hotmail.de>2014-03-15 21:52:20 +0100
committerChristian Vogeley <christian.vogeley@hotmail.de>2014-03-15 21:52:20 +0100
commitf0736fc955e69d4650f95dc937f26be222967199 (patch)
tree35376ad29d9015e43d65df88d08561c9562bd570 /include/api.php
parent8be35d60cf8e4dee4ffc3e9cc090ebb722d72290 (diff)
downloadvolse-hubzilla-f0736fc955e69d4650f95dc937f26be222967199.tar.gz
volse-hubzilla-f0736fc955e69d4650f95dc937f26be222967199.tar.bz2
volse-hubzilla-f0736fc955e69d4650f95dc937f26be222967199.zip
API: statusnet_html:trim was trimming too much
Diffstat (limited to 'include/api.php')
-rw-r--r--include/api.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/api.php b/include/api.php
index 47c78113a..f39039332 100644
--- a/include/api.php
+++ b/include/api.php
@@ -1552,7 +1552,8 @@ require_once('include/items.php');
'geo' => '',
'favorited' => (($item['item_flags'] & ITEM_STARRED) ? true : false),
'user' => $status_user ,
- 'statusnet_html' => trim(prepare_text($item['body']),$item['mimetype']),
+ //'statusnet_html' => trim(prepare_text($item['body']),$item['mimetype']),
+ 'statusnet_html' => trim(prepare_text($item['body'])),
'statusnet_conversation_id' => $item['parent'],
);