MDL-25609 frontpage combo list - avoid filter linking too much
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 14 Dec 2010 23:05:39 +0000 (00:05 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 14 Dec 2010 23:05:39 +0000 (00:05 +0100)
course/renderer.php

index c3d303d..07b7bc5 100644 (file)
@@ -130,7 +130,7 @@ class core_course_renderer extends plugin_renderer_base {
                 $coursecount ++;
                 $classes[] = ($coursecount%2)?'odd':'even';
                 $content .= html_writer::start_tag('div', array('class'=>join(' ', $classes)));
-                $content .= html_writer::link(new moodle_url('/course/view.php', array('id'=>$course->id)), format_text($course->fullname, FORMAT_HTML), array('class'=>$linkclass));
+                $content .= html_writer::link(new moodle_url('/course/view.php', array('id'=>$course->id)), format_string($course->fullname), array('class'=>$linkclass));
                 $content .= html_writer::start_tag('div', array('class'=>'course_info clearfix'));
 
                 // print enrol info
@@ -152,4 +152,4 @@ class core_course_renderer extends plugin_renderer_base {
         $content .= html_writer::end_tag('div');
         return $content;
     }
-}
\ No newline at end of file
+}