fix render in showstream

darcs-hash:20080529173527-84dde-968857bab4df3f26d8d135b00991838aa78210c0.gz
This commit is contained in:
Evan Prodromou 2008-05-29 13:35:27 -04:00
parent fb3029d74e
commit 1389e3b4dc

View File

@ -330,7 +330,7 @@ class ShowstreamAction extends StreamAction {
$noticeurl = common_local_url('shownotice', array('notice' => $notice->id));
# FIXME: URL, image, video, audio
common_element_start('span', array('class' => 'content'));
common_raw(common_render_content($notice->content));
common_raw(common_render_content($notice->content, $notice));
common_element_end('span');
common_element('a', array('class' => 'notice',
'href' => $noticeurl),