Permalink
Browse files

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

  • Loading branch information...
1 parent 2c7f710 commit 67e17638971ba6782cbedf561f93324055573443 ikawhero committed Jan 16, 2006
Showing with 2 additions and 1 deletion.
  1. +2 −1 mod/quiz/view.php
View
@@ -89,7 +89,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) {

0 comments on commit 67e1763

Please sign in to comment.