Skip to content

Commit 93b0600

Browse files
committed
The thank you page header is not filtered, resolves #664.
1 parent 69e673d commit 93b0600

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

0 commit comments

Comments
 (0)