Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 1e6c1f7a3ea90b6a106bd2e2dced04dcff407152 1 parent 3188b27
Rossiani Wijaya authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  course/renderer.php
View
2  course/renderer.php
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.