We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

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));
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));
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