Use the right string processing functions when outputting question names.
This commit is contained in:
@@ -323,7 +323,7 @@ function question_list($course, $categoryid, $quizid=0,
|
||||
echo " <input title=\"$strselect\" type=\"checkbox\" name=\"q$question->id\" value=\"1\" />";
|
||||
echo "</td>\n";
|
||||
|
||||
echo "<td $nameclass>" . $question->name . "</td>\n";
|
||||
echo "<td $nameclass>" . format_string($question->name) . "</td>\n";
|
||||
echo "<td $nameclass style='text-align: right'>\n";
|
||||
print_question_icon($question, $canedit);
|
||||
echo "</td>\n";
|
||||
|
||||
@@ -178,7 +178,7 @@
|
||||
->get_correct_responses($questions[$id], $curstate);
|
||||
}
|
||||
|
||||
$strpreview = get_string('preview', 'quiz').' '.s($questions[$id]->name);
|
||||
$strpreview = get_string('preview', 'quiz').' '.format_string($questions[$id]->name);
|
||||
print_header($strpreview);
|
||||
print_heading($strpreview);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user