]> git.mjollnir.org Git - moodle.git/commitdiff
Format answers in multiple choice questions
authormoodler <moodler>
Thu, 19 Feb 2004 18:14:19 +0000 (18:14 +0000)
committermoodler <moodler>
Thu, 19 Feb 2004 18:14:19 +0000 (18:14 +0000)
mod/quiz/lib.php

index 63c87c85ba5f95d6a3651413f01b931e116780e2..99ba7d93b067b0994a68857722b731ccfb8ae12a 100644 (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;";