Merge branch 'MDL-63215-master' of https://github.com/lucaboesch/moodle
This commit is contained in:
@@ -131,7 +131,7 @@ class item implements \renderable, \templatable {
|
||||
}
|
||||
|
||||
// Allow the renderer to format the title and description.
|
||||
$data['title'] = $output->format_title($title);
|
||||
$data['title'] = strip_tags($output->format_title($title));
|
||||
$data['description'] = $this->showdescription ? $output->format_description($this->description) : null;
|
||||
|
||||
return $data;
|
||||
|
||||
Reference in New Issue
Block a user