Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-9005 Fixed this and another multilang issue (module name in previ…

…ew didn't filter multilang tags either).
  • Loading branch information...
commit bc1d20eea9b34c7de6d5984e5bec4496b4bb360d 1 parent 7efe75f
nicolasconnault authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  question/preview.php
  2. +1 −1  question/type/match/questiontype.php
View
2  question/preview.php
@@ -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;
View
2  question/type/match/questiontype.php
@@ -166,7 +166,7 @@ function restore_session_and_responses(&$question, &$state) {
// 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);
Please sign in to comment.
Something went wrong with that request. Please try again.