summaryrefslogtreecommitdiff
path: root/actions/shownotice.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/shownotice.php')
-rw-r--r--actions/shownotice.php5
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');