From 3ed27511a38532d4f1cfcfe070625bd475acd580 Mon Sep 17 00:00:00 2001 From: Jean-Michel Vedrine Date: Sun, 4 Feb 2018 13:09:21 +0100 Subject: Use notifyFilterContentUpdated event --- renderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'renderer.php') diff --git a/renderer.php b/renderer.php index e19ae11..a368397 100644 --- a/renderer.php +++ b/renderer.php @@ -143,7 +143,7 @@ class qtype_algebra_renderer extends qtype_renderer { ) ); - $display = $question->format_text("" . $question->formated_expression($currentanswer, $vars) ."", + $display = $question->format_text($question->formated_expression($currentanswer, $vars), FORMAT_MOODLE ,$qa, 'question', 'questiontext', $question->id); $result .= html_writer::tag('div', $display ,array( 'type' => 'text', -- cgit v1.2.3