From 89c870e7b22c8dbf74c40f60d93f98fe9d00254e Mon Sep 17 00:00:00 2001 From: ikawhero Date: Mon, 16 Jan 2006 06:29:51 +0000 Subject: [PATCH] Quiz summary text shouldn't be cleaned as only entered by teacher Merged from stable --- mod/quiz/view.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/quiz/view.php b/mod/quiz/view.php index 8b74b8729c7..39685593a97 100644 --- a/mod/quiz/view.php +++ b/mod/quiz/view.php @@ -91,7 +91,8 @@ print_heading(format_string($quiz->name)); if (trim(strip_tags($quiz->intro))) { - print_simple_box(format_text($quiz->intro), "center"); + $formatoptions->noclean = true; + print_simple_box(format_text($quiz->intro, FORMAT_MOODLE, $formatoptions), "center"); } if ($quiz->attempts > 1) {