Skip to content

Commit d7477df

Browse files
authored
Have addInfo pass through filters everywhere fixes #525. (#526)
1 parent a2692eb commit d7477df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

questionnaire.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1493,7 +1493,7 @@ private function print_survey_start($message, $section, $numsections, $hasrequir
14931493
if ($this->survey->info) {
14941494
$infotext = file_rewrite_pluginfile_urls($this->survey->info, 'pluginfile.php',
14951495
$this->context->id, 'mod_questionnaire', 'info', $this->survey->id);
1496-
$this->page->add_to_page('addinfo', $infotext);
1496+
$this->page->add_to_page('addinfo', format_text($infotext, FORMAT_HTML, ['noclean' => true]));
14971497
}
14981498
}
14991499

0 commit comments

Comments
 (0)