mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Avoid break between answer and feedback in multiple choice question
This commit is contained in:
parent
eee88c7104
commit
278553ffdc
@ -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\"> ".format_text($text, true, false)."</span>";
|
||||
}
|
||||
|
||||
function quiz_print_correctanswer($text) {
|
||||
|
@ -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"> ';
|
||||
echo '<td valign="top">';
|
||||
quiz_print_comment($answer->feedback);
|
||||
echo '</td>';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user