diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-05-29 12:41:39 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-05-29 12:41:39 -0400 |
commit | 066f6843fecc862ff26261005e1a1104350ef312 (patch) | |
tree | 7a5264d9095bfe5c24be3b8fcb6e774e667452ce /actions/shownotice.php | |
parent | c3c32cac8d2fea8d2a4bbcf0ddf1127e7b2fa3f2 (diff) |
use common_render_content
darcs-hash:20080529164139-84dde-85f6b27707af4c2f00f0d62c2fe4e209ab353e57.gz
Diffstat (limited to 'actions/shownotice.php')
-rw-r--r-- | actions/shownotice.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/actions/shownotice.php b/actions/shownotice.php index 05c547301..b189fdb87 100644 --- a/actions/shownotice.php +++ b/actions/shownotice.php @@ -68,8 +68,9 @@ class ShownoticeAction extends Action { $profile->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'); common_element('span', array('class' => 'date'), common_date_string($notice->created)); common_element_end('div'); |