Permalink
Browse files

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

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

0 comments on commit 89c870e

Please sign in to comment.