MDL-38055 course: fixed double encoding of title properties
This commit is contained in:
@@ -101,7 +101,8 @@ class block_course_overview_renderer extends plugin_renderer_base {
|
||||
|
||||
}
|
||||
|
||||
$attributes = array('title' => s($course->fullname));
|
||||
// No need to pass title through s() here as it will be done automatically by html_writer.
|
||||
$attributes = array('title' => $course->fullname);
|
||||
if ($course->id > 0) {
|
||||
$courseurl = new moodle_url('/course/view.php', array('id' => $course->id));
|
||||
$coursefullname = format_string($course->fullname, true, $course->id);
|
||||
|
||||
Reference in New Issue
Block a user