MDL-63215 block_rss_client: Escaping tags in RSS entries

This commit is contained in:
Michelle Melton
2018-09-16 23:46:05 +02:00
committed by Luca Bösch
parent 09b00ee19c
commit aa21de4c84
+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;