mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 04:33:13 +01:00
mod-lesson MDL-26599 Fixed echo causing incorrect nesting.
This commit is contained in:
parent
6b14adf210
commit
65f2fad9a0
@ -2030,7 +2030,7 @@ abstract class lesson_page extends lesson_base {
|
||||
$result->feedback = $OUTPUT->box(format_text($this->get_contents(), $this->properties->contentsformat, $options), 'generalbox boxaligncenter');
|
||||
$result->feedback .= '<div class="correctanswer generalbox"><em>'.get_string("youranswer", "lesson").'</em> : '.$result->studentanswer; // already in clean html
|
||||
$result->feedback .= $OUTPUT->box($result->response, $class); // already conerted to HTML
|
||||
echo "</div>";
|
||||
$result->feedback .= '</div>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user