Avoid break between answer and feedback in multiple choice question

This commit is contained in:
gustav_delius 2005-05-18 03:00:55 +00:00
parent eee88c7104
commit 278553ffdc
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -323,7 +323,7 @@ class quiz_multichoice_qtype extends quiz_default_questiontype {
// 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>';
}