Merge branch 'MDL-59081-master' of git://github.com/abgreeve/moodle
[moodle.git] / mod / lesson / pagetypes / shortanswer.php
index e59cce8..62abed9 100644 (file)
@@ -208,6 +208,7 @@ class lesson_page_type_shortanswer extends lesson_page {
                 $result->newpageid = $answer->jumpto;
                 $options = new stdClass();
                 $options->para = false;
+                $options->noclean = true;
                 $result->response = format_text($answer->response, $answer->responseformat, $options);
                 $result->answerid = $answer->id;
                 break; // quit answer analysis immediately after a match has been found