"QUIZ/MDL-17710, wrap quiz summary by div, merged from 1.9"
This commit is contained in:
+2
-1
@@ -96,7 +96,8 @@
|
||||
print_heading(format_string($quiz->name));
|
||||
if (trim(strip_tags($quiz->intro))) {
|
||||
$formatoptions->noclean = true;
|
||||
print_box(format_text($quiz->intro, FORMAT_MOODLE, $formatoptions), 'generalbox', 'intro');
|
||||
$formatoptions->para = false;
|
||||
print_box('<div>'.format_text($quiz->intro, FORMAT_MOODLE, $formatoptions).'</div>', 'generalbox', 'intro');
|
||||
}
|
||||
|
||||
/// Display information about this quiz.
|
||||
|
||||
Reference in New Issue
Block a user