X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FQnA%2Factions%2Fqnanewanswer.php;h=5543cba06c623dbff942744d3401abcff7b8e6b2;hb=d6b28c64830f632bb2f4b6f3c9369b9e56ad217a;hp=561ea2e01639587117edda5f790a89b2ad61ae04;hpb=c6f89b21748948fde902904f6ac9ce9afa026b84;p=quix0rs-gnu-social.git diff --git a/plugins/QnA/actions/qnanewanswer.php b/plugins/QnA/actions/qnanewanswer.php index 561ea2e016..5543cba06c 100644 --- a/plugins/QnA/actions/qnanewanswer.php +++ b/plugins/QnA/actions/qnanewanswer.php @@ -327,14 +327,7 @@ class NoticeAnswerListItem extends NoticeListItem function showContent() { $this->out->elementStart('p', array('class' => 'e-content answer-content')); - if ($this->notice->rendered) { - $this->out->raw($this->notice->rendered); - } else { - // XXX: may be some uncooked notices in the DB, - // we cook them right now. This should probably disappear in future - // versions (>> 0.4.x) - $this->out->raw(common_render_content($this->notice->content, $this->notice)); - } + $this->out->raw($this->notice->getRendered()); if (!empty($this->answer)) { $form = new QnashowanswerForm($this->out, $this->answer);