MDL-20636 Previewing a truefalse question in deferred feedback mode now works.
[moodle.git] / question / type / truefalse / renderer.php
index 023ed1e..17a99b4 100644 (file)
@@ -94,7 +94,7 @@ class qtype_truefalse_renderer extends qtype_renderer {
                 array('for' => $falseattributes['id']));
 
         $result = '';
-        $result .= html_writer::tag('div', $question->format_questiontext(),
+        $result .= html_writer::tag('div', $question->format_questiontext($qa),
                 array('class' => 'qtext'));
 
         $result .= html_writer::start_tag('div', array('class' => 'ablock'));