mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
Merge branch 'MDL-24394' of git://github.com/timhunt/moodle
This commit is contained in:
commit
7dd813b948
@ -108,7 +108,8 @@ class qtype_match_renderer extends qtype_with_combined_feedback_renderer {
|
||||
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user