Use the right string processing functions when outputting question names.

This commit is contained in:
tjhunt
2007-03-13 16:20:41 +00:00
parent 24e25bc124
commit 70ed76670e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -323,7 +323,7 @@ function question_list($course, $categoryid, $quizid=0,
echo "&nbsp;<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";
+1 -1
View File
@@ -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);