Skip to content

Commit b568771

Browse files
committed
correct implementation of format_text()
1 parent 10ee872 commit b568771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

locallib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,7 @@ function pdfannotator_get_questions($courseid, $context, $questionfilter) {
10951095
}
10961096

10971097
$question->content = pdfannotator_get_relativelink($question->content, $question->commentid, $context);
1098-
$question->content = format_text($question->content, $options = ['filter' => true]);
1098+
$question->content = format_text($question->content, FORMAT_MOODLE);
10991099
$question->link = (new moodle_url('/mod/pdfannotator/view.php', array('id' => $question->cmid,
11001100
'page' => $question->page, 'annoid' => $question->annoid, 'commid' => $question->commentid)))->out();
11011101

0 commit comments

Comments
 (0)