diff options
author | Jean-Michel Vedrine <vedrine@vedrine.org> | 2018-02-04 13:09:21 +0100 |
---|---|---|
committer | Jean-Michel Vedrine <vedrine@vedrine.org> | 2018-02-04 13:09:21 +0100 |
commit | 3ed27511a38532d4f1cfcfe070625bd475acd580 (patch) | |
tree | d8843318e07fc5c747371e29f6bb3ca294343fc4 /renderer.php | |
parent | 2e02bf2dbf73d6f30ce5c8c611f300486c056227 (diff) |
Use notifyFilterContentUpdated event
Diffstat (limited to 'renderer.php')
-rw-r--r-- | renderer.php | 2 |
1 files changed, 1 insertions, 1 deletions
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("<span class=\"filter_mathjaxloader_equation\">" . $question->formated_expression($currentanswer, $vars) ."</span>", + $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', |