Permalink
Browse files

MDL-24333 - fixed invalidate xhtml strict for courses in combo list.

  • Loading branch information...
1 parent 3188b27 commit 1e6c1f7a3ea90b6a106bd2e2dced04dcff407152 Rossiani Wijaya committed Sep 23, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/renderer.php
View
@@ -127,7 +127,7 @@ protected function course_category_tree_category(stdClass $category, $depth=1) {
$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

0 comments on commit 1e6c1f7

Please sign in to comment.