Commit f1772b75 authored by Evan Prodromou's avatar Evan Prodromou

render question description in QnA plugin

parent 3f3babbc
......@@ -219,7 +219,7 @@ class QnA_Answer extends Managed_DataObject
$out->elementStart('p', array('class' => implode(' ', $cls)));
$out->elementStart('span', 'answer-content');
$out->raw(QnAPlugin::shorten($answer->content, $notice));
$out->raw(common_render_text($answer->content));
$out->elementEnd('span');
if (!empty($answer->revisions)) {
......
......@@ -227,7 +227,7 @@ class QnA_Question extends Managed_DataObject
if (!empty($question->description)) {
$out->elementStart('span', 'question-description');
$out->raw(QnAPlugin::shorten($question->description, $notice));
$out->raw(common_render_text($question->description));
$out->elementEnd('span');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment