function showContent()
{
// FIXME: URL, image, video, audio
- $this->out->elementStart('p', array('class' => 'entry-content'));
+ $this->out->elementStart('article', array('class' => 'e-content'));
- if (!empty($this->notice->rendered)) {
- $html = $this->notice->rendered;
- } else {
- $html = common_render_content($this->notice->content, $this->notice);
- }
+ $html = $this->notice->getRendered();
if (common_config('nofollow', 'external') == 'sometimes') {
// remove the nofollow part
$this->out->raw($html);
- $this->out->elementEnd('p');
+ $this->out->elementEnd('div');
}
-}
\ No newline at end of file
+}