Skip to content
Snippets Groups Projects
Commit 471dfa3c authored by Chris Sangwin's avatar Chris Sangwin
Browse files

Fix to issue #847.

parent 5507bb45
Branches
No related tags found
No related merge requests found
......@@ -512,13 +512,17 @@ foreach ($testresults as $key => $result) {
$expectedpenalty = round($state->expectedpenalty + 0, 4);
}
$answernote_display = html_writer::tag('summary', s($state->answernote))
. html_writer::tag('pre', implode('', $prtinputs) . $state->trace);
$answernote_display = html_writer::tag('details', $answernote_display);
$prtstable->data[] = array(
$prtname,
$state->score,
$expectedscore,
$state->penalty,
$expectedpenalty,
s($state->answernote) . html_writer::tag('pre', implode('', $prtinputs) . $state->trace),
$answernote_display,
s($state->expectedanswernote),
format_text($state->feedback),
$passedcol,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment