diff options
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', |