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";
->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);