diff --git a/mod/resource/index.php b/mod/resource/index.php
index d9eb908acad..93abe5e1d25 100644
--- a/mod/resource/index.php
+++ b/mod/resource/index.php
@@ -71,14 +71,14 @@
$extra = "";
}
if (!$resource->visible) { // Show dimmed if the mod is hidden
- $table->data[] = array ($printsection,
- "coursemodule\">".format_string($resource->name,true)."",
- format_text($resource->summary, FORMAT_HTML, $options) );
+ $table->data[] = array ($printsection,
+ "coursemodule\">".format_string($resource->name,true)."",
+ format_text($resource->summary, FORMAT_MOODLE, $options) );
} else { //Show normal if the mod is visible
- $table->data[] = array ($printsection,
- "coursemodule\">".format_string($resource->name,true)."",
- format_text($resource->summary, FORMAT_HTML, $options) );
+ $table->data[] = array ($printsection,
+ "coursemodule\">".format_string($resource->name,true)."",
+ format_text($resource->summary, FORMAT_MOODLE, $options) );
}
}