MDL-36422 question: Fixed malformed HTML in manual marking
authorFrederic Massart <fred@moodle.com>
Thu, 8 Nov 2012 02:20:22 +0000 (10:20 +0800)
committerFrederic Massart <fred@moodle.com>
Thu, 8 Nov 2012 02:26:44 +0000 (10:26 +0800)
question/behaviour/rendererbase.php

index e04a638..6a24e38 100644 (file)
@@ -86,7 +86,6 @@ abstract class qbehaviour_renderer extends plugin_renderer_base {
 
         $commenteditor = html_writer::tag('div', html_writer::tag('textarea', s($commenttext),
                 array('id' => $id, 'name' => $inputname, 'rows' => 10, 'cols' => 60)));
-        $commenteditor .= html_writer::end_tag('div');
 
         $editorformat = '';
         if (count($formats) == 1) {