several small fixes and adjustments

This commit is contained in:
friendica
2012-12-16 20:20:29 -08:00
parent fa8b4e98b7
commit e9b5b0f0b4
10 changed files with 79 additions and 25 deletions

View File

@@ -209,7 +209,7 @@ class Item extends BaseObject {
'type' => implode("",array_slice(explode("/",$item['verb']),-1)),
'tags' => $tags,
'body' => template_escape($body),
'body' => $body,
'text' => strip_tags(template_escape($body)),
'id' => $this->get_id(),
'linktitle' => sprintf( t('View %s\'s profile @ %s'), $profile_name, ((strlen($item['author-link'])) ? $item['author-link'] : $item['url'])),