From 066f6843fecc862ff26261005e1a1104350ef312 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 29 May 2008 12:41:39 -0400 Subject: use common_render_content darcs-hash:20080529164139-84dde-85f6b27707af4c2f00f0d62c2fe4e209ab353e57.gz --- lib/stream.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/stream.php') 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), -- cgit v1.2.3-54-g00ecf