Format answers in multiple choice questions

This commit is contained in:
moodler
2004-02-19 18:14:19 +00:00
parent 9cc1730595
commit e8da8d7004
+2 -2
View File
@@ -678,9 +678,9 @@ function quiz_print_question($number, $question, $grade, $quizid,
}
echo "</td>";
if (empty($feedback) or empty($correct[$answer->id])) {
echo "<td valign=\"top\">$qnumchar. $answer->answer</td>";
echo '<td valign="top">'.format_text("$qnumchar. $answer->answer").'</td>';
} else {
echo "<td valign=\"top\" class=\"highlight\">$qnumchar. $answer->answer</td>";
echo '<td valign="top" class="highlight">'.format_text("$qnumchar. $answer->answer").'</td>';
}
if (!empty($feedback)) {
echo "<td valign=\"top\">&nbsp;";