MDL-63215 block_rss_client: Escaping tags in RSS entries
This commit is contained in:
committed by
Luca Bösch
parent
09b00ee19c
commit
aa21de4c84
@@ -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