MDL-43628 mod_assign: fixed formatting of statement
[moodle.git] / mod / assign / submissionconfirmform.php
index 5790cb9..1508026 100644 (file)
@@ -47,7 +47,7 @@ class mod_assign_confirm_submission_form extends moodleform {
              $data) = $this->_customdata;
 
         if ($requiresubmissionstatement) {
              $data) = $this->_customdata;
 
         if ($requiresubmissionstatement) {
-            $mform->addElement('checkbox', 'submissionstatement', '', ' ' . format_text($submissionstatement));
+            $mform->addElement('checkbox', 'submissionstatement', '', $submissionstatement);
             $mform->addRule('submissionstatement', get_string('required'), 'required', null, 'client');
         }
 
             $mform->addRule('submissionstatement', get_string('required'), 'required', null, 'client');
         }