Quiz summary text shouldn't be cleaned as only entered by teacher
Merged from stable
This commit is contained in:
+2
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user