Skip to content
Snippets Groups Projects
Commit 5a740fc1 authored by Amrita1991's avatar Amrita1991
Browse files

correct implementation of format_text()

parent 1d698fb2
No related branches found
No related tags found
No related merge requests found
......@@ -1095,7 +1095,7 @@ function pdfannotator_get_questions($courseid, $context, $questionfilter) {
}
$question->content = pdfannotator_get_relativelink($question->content, $question->commentid, $context);
$question->content = format_text($question->content, $options = ['filter' => true]);
$question->content = format_text($question->content, FORMAT_MOODLE);
$question->link = (new moodle_url('/mod/pdfannotator/view.php', array('id' => $question->cmid,
'page' => $question->page, 'annoid' => $question->annoid, 'commid' => $question->commentid)))->out();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment