From 1e6c1f7a3ea90b6a106bd2e2dced04dcff407152 Mon Sep 17 00:00:00 2001 From: Rossiani Wijaya Date: Thu, 23 Sep 2010 05:15:02 +0000 Subject: [PATCH] MDL-24333 - fixed invalidate xhtml strict for courses in combo list. --- course/renderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/renderer.php b/course/renderer.php index 4e097d14d60..9c90eacce67 100644 --- a/course/renderer.php +++ b/course/renderer.php @@ -127,7 +127,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), array('class'=>$linkclass)); + $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::start_tag('div', array('class'=>'course_info clearfix')); // print enrol info