Skip to content

Commit

Permalink
Format answers in multiple choice questions
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Feb 19, 2004
1 parent 9cc1730 commit e8da8d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod/quiz/lib.php
Expand Up @@ -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;";
Expand Down

0 comments on commit e8da8d7

Please sign in to comment.