Skip to content
Browse files

MDL-30636 Lesson Module: fixed essay answer display format

  • Loading branch information...
1 parent f89a83b commit de2e165a3a0411dd41c267fef5b0c3b40b668977 @rwijaya rwijaya committed Dec 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/lesson/pagetypes/essay.php
View
2 mod/lesson/pagetypes/essay.php
@@ -216,7 +216,7 @@ public function report_answers($answerpage, $answerdata, $useranswer, $pagestats
// dont think this should ever be reached....
$avescore = get_string("nooneansweredthisquestion", "lesson");
}
- $answerdata->answers[] = array(s($essayinfo->answer), $avescore);
+ $answerdata->answers[] = array(format_text($essayinfo->answer, FORMAT_MOODLE), $avescore);
$answerpage->answerdata = $answerdata;
}
return $answerpage;

0 comments on commit de2e165

Please sign in to comment.
Something went wrong with that request. Please try again.