Skip to content

Commit

Permalink
Have addInfo pass through filters everywhere fixes #525. (#526)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaboesch authored Feb 23, 2024
1 parent a2692eb commit d7477df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion questionnaire.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1493,7 +1493,7 @@ private function print_survey_start($message, $section, $numsections, $hasrequir
if ($this->survey->info) {
$infotext = file_rewrite_pluginfile_urls($this->survey->info, 'pluginfile.php',
$this->context->id, 'mod_questionnaire', 'info', $this->survey->id);
$this->page->add_to_page('addinfo', $infotext);
$this->page->add_to_page('addinfo', format_text($infotext, FORMAT_HTML, ['noclean' => true]));
}
}

Expand Down

0 comments on commit d7477df

Please sign in to comment.