Skip to content
Permalink
Browse files

Avoid break between answer and feedback in multiple choice question

  • Loading branch information...
gustav_delius
gustav_delius committed May 18, 2005
1 parent eee88c7 commit 278553ffdc470e02d6188c21a4e09306fb6ff4fe
Showing with 2 additions and 2 deletions.
  1. +1 −1 mod/quiz/locallib.php
  2. +1 −1 mod/quiz/questiontypes/multichoice/questiontype.php
@@ -1764,7 +1764,7 @@ function quiz_apply_penalty_and_timelimit(&$question, &$state, $attempt, $quiz)
function quiz_print_comment($text) {
echo "<span class=\"feedbacktext\">".format_text($text, true, false)."</span>";
echo "<span class=\"feedbacktext\">&nbsp;".format_text($text, true, false)."</span>";
}
function quiz_print_correctanswer($text) {
@@ -323,7 +323,7 @@ function print_question_formulation_and_controls(&$question, &$state, $quiz, $op
// Print feedback by selected options if feedback is on
if (($options->feedback || $options->correct_responses) &&
$checked) {
echo '<td valign="top">&nbsp;';
echo '<td valign="top">';
quiz_print_comment($answer->feedback);
echo '</td>';
}

0 comments on commit 278553f

Please sign in to comment.
You can’t perform that action at this time.