Quiz summary text shouldn't be cleaned as only entered by teacher

Merged from stable
This commit is contained in:
ikawhero
2006-01-16 06:29:51 +00:00
parent d53c5dfc63
commit 89c870e7b2
+2 -1
View File
@@ -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) {