Merge branch 'MDL-63215-34' of https://github.com/lucaboesch/moodle into MOODLE_34_STABLE

This commit is contained in:
Eloy Lafuente (stronk7)
2018-09-17 10:43:28 +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;