Skip to content

Commit

Permalink
Quiz summary text shouldn't be cleaned as only entered by teacher
Browse files Browse the repository at this point in the history
Merged from stable
  • Loading branch information
ikawhero committed Jan 16, 2006
1 parent d53c5df commit 89c870e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mod/quiz/view.php
Expand Up @@ -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) {
Expand Down

0 comments on commit 89c870e

Please sign in to comment.