From f0736fc955e69d4650f95dc937f26be222967199 Mon Sep 17 00:00:00 2001 From: Christian Vogeley Date: Sat, 15 Mar 2014 21:52:20 +0100 Subject: API: statusnet_html:trim was trimming too much --- include/api.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'], ); -- cgit v1.2.3