Skip to content

Commit 3d277dc

Browse files
authored
The thank you page header is not filtered, resolves #664. (#665)
1 parent 76bddd4 commit 3d277dc

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
@@ -2524,7 +2524,7 @@ private function response_goto_thankyou() {
25242524
$this->page->add_to_page('progressbar',
25252525
$this->renderer->render_progress_bar(count($this->questionsbysec) + 1, $this->questionsbysec));
25262526
}
2527-
$this->page->add_to_page('title', $thankhead);
2527+
$this->page->add_to_page('title', format_string($thankhead));
25282528
$this->page->add_to_page('addinfo',
25292529
format_text(file_rewrite_pluginfile_urls($thankbody, 'pluginfile.php',
25302530
$this->context->id, 'mod_questionnaire', 'thankbody', $this->survey->id), FORMAT_HTML, ['noclean' => true]));

0 commit comments

Comments
 (0)