summaryrefslogtreecommitdiff
path: root/lib/stream.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stream.php')
-rw-r--r--lib/stream.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/stream.php b/lib/stream.php
index 4b7d6ed24..b6834eb45 100644
--- a/lib/stream.php
+++ b/lib/stream.php
@@ -47,7 +47,9 @@ class StreamAction extends Action {
'class' => 'nickname'),
$profile->nickname);
# FIXME: URL, image, video, audio
- common_element('span', array('class' => 'content'), $notice->content);
+ common_element_start('span', array('class' => 'content'));
+ common_raw(common_render_content($notice->content));
+ common_element_end('span');
$noticeurl = common_local_url('shownotice', array('notice' => $notice->id));
common_element('a', array('class' => 'notice',
'href' => $noticeurl),