From 177e6553acd1fcef1bc2350b6d328464f8602055 Mon Sep 17 00:00:00 2001 From: Juan Segarra Montesinos Date: Tue, 2 Nov 2021 11:49:06 +0100 Subject: [PATCH] MDL-72977 qtype_essay: Honor Information for graders text format. --- question/type/essay/renderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/type/essay/renderer.php b/question/type/essay/renderer.php index 1a78d9ce94e..a82e1dbdd54 100644 --- a/question/type/essay/renderer.php +++ b/question/type/essay/renderer.php @@ -202,7 +202,7 @@ class qtype_essay_renderer extends qtype_renderer { $question = $qa->get_question(); return html_writer::nonempty_tag('div', $question->format_text( - $question->graderinfo, $question->graderinfo, $qa, 'qtype_essay', + $question->graderinfo, $question->graderinfoformat, $qa, 'qtype_essay', 'graderinfo', $question->id), array('class' => 'graderinfo')); } }