]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/stream.php
fix service discovery (I think)
[quix0rs-gnu-social.git] / lib / stream.php
index 03fc87fc5b35c15896ef8de80a3b8060027ae46d..ac683367f166aec509ec9a7246dc8ad6a6d36b4c 100644 (file)
@@ -47,7 +47,9 @@ class StreamAction extends Action {
                                                                  'class' => 'nickname'),
                                           $profile->nickname);
                # FIXME: URL, image, video, audio
-               common_element('span', array('class' => 'content'), common_render_content($notice->content));
+               common_element_start('span', array('class' => 'content'));
+               common_raw(common_render_content($notice->content, $notice));
+               common_element_end('span');
                $noticeurl = common_local_url('shownotice', array('notice' => $notice->id));
                common_element('a', array('class' => 'notice',
                                                                  'href' => $noticeurl),