MDL-9005 Fixed this and another multilang issue (module name in preview didn't filter multilang tags either).
This commit is contained in:
@@ -187,7 +187,7 @@
|
||||
|
||||
if (!empty($quizid)) {
|
||||
echo '<p class="quemodname">'.get_string('modulename', 'quiz') . ': ';
|
||||
p($quiz->name);
|
||||
p(format_string($quiz->name));
|
||||
echo "</p>\n";
|
||||
}
|
||||
$number = 1;
|
||||
|
||||
@@ -166,7 +166,7 @@ class question_match_qtype extends default_questiontype {
|
||||
// answers per question, each with different marks and feedback.
|
||||
$answer = new stdClass();
|
||||
$answer->id = $subquestion->code;
|
||||
$answer->answer = $subquestion->answertext;
|
||||
$answer->answer = format_string($subquestion->answertext);
|
||||
$answer->fraction = 1.0;
|
||||
$state->options->subquestions[$key]->options
|
||||
->answers[$subquestion->code] = clone($answer);
|
||||
|
||||
Reference in New Issue
Block a user