diff --git a/mod/resource/index.php b/mod/resource/index.php index dfe27f4b462..d3e94c7bfa0 100644 --- a/mod/resource/index.php +++ b/mod/resource/index.php @@ -49,6 +49,7 @@ } $currentsection = ""; + $options->para = false; foreach ($resources as $resource) { if ($course->format == "weeks" or $course->format == "topics") { $printsection = ""; @@ -72,12 +73,12 @@ if (!$resource->visible) { // Show dimmed if the mod is hidden $table->data[] = array ($printsection, "coursemodule\">$resource->name", - format_text($resource->summary) ); + format_text($resource->summary, FORMAT_MOODLE, $options) ); } else { //Show normal if the mod is visible $table->data[] = array ($printsection, "coursemodule\">$resource->name", - format_text($resource->summary) ); + format_text($resource->summary, FORMAT_MOODLE, $options) ); } }