MDL-9005 Fixed this and another multilang issue (module name in preview didn't filter multilang tags either).

This commit is contained in:
nicolasconnault
2007-08-28 13:22:02 +00:00
parent 7efe75fcc4
commit bc1d20eea9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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);