Skip to content

Commit

Permalink
MDL-65112 mod_lesson: fix html for shortanswer responses
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriim committed Mar 28, 2019
1 parent 0920f35 commit 89d9a77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mod/lesson/pagetypes/shortanswer.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ public function check_answer() {
$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
Expand Down

0 comments on commit 89d9a77

Please sign in to comment.