Permalink
Browse files

Merge branch 'MDL-24394_22' of git://github.com/timhunt/moodle into M…

…OODLE_22_STABLE
  • Loading branch information...
Sam Hemelryk
Sam Hemelryk committed Jan 10, 2012
2 parents 10c3c6d + c4989dc commit 859624f26c14da6b1ca286c0266ebe9d8759f2de
Showing with 2 additions and 1 deletion.
  1. +2 −1 question/type/match/renderer.php
@@ -108,7 +108,8 @@ public function specific_feedback(question_attempt $qa) {
protected function format_choices($question) {
$choices = array();
foreach ($question->get_choice_order() as $key => $choiceid) {
- $choices[$key] = htmlspecialchars($question->choices[$choiceid]);
+ $choices[$key] = format_string($question->choices[$choiceid], true,
+ array('context' => $question->contextid));
}
return $choices;
}

0 comments on commit 859624f

Please sign in to comment.