mod-lesson MDL-26599 Fixed echo causing incorrect nesting.

This commit is contained in:
Sam Hemelryk 2011-03-09 14:57:35 +08:00
parent 6b14adf210
commit 65f2fad9a0

View File

@ -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>';
}
}
}