Merge branch 'MDL-65112-master' of https://github.com/dmitriim/moodle

This commit is contained in:
Jun Pataleta 2019-04-03 16:19:35 +08:00
commit dcdea70fca

View file

@ -170,6 +170,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