From 65f2fad9a0bbb769a50e8772681ff71ae2f8ee42 Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Wed, 9 Mar 2011 14:57:35 +0800 Subject: [PATCH] mod-lesson MDL-26599 Fixed echo causing incorrect nesting. --- mod/lesson/locallib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/lesson/locallib.php b/mod/lesson/locallib.php index 060afeff719..17919300d04 100644 --- a/mod/lesson/locallib.php +++ b/mod/lesson/locallib.php @@ -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 .= '
'.get_string("youranswer", "lesson").' : '.$result->studentanswer; // already in clean html $result->feedback .= $OUTPUT->box($result->response, $class); // already conerted to HTML - echo "
"; + $result->feedback .= ''; } } }