Merge branch 'wip-MDL-26599' of git://github.com/samhemelryk/moodle

This commit is contained in:
Petr Skoda 2011-04-11 14:09:15 +02:00
commit 337d8b1489

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