Merge branch 'MDL-63215-master' of https://github.com/lucaboesch/moodle

This commit is contained in:
Eloy Lafuente (stronk7)
2018-09-17 10:40:41 +02:00
+1 -1
View File
@@ -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;