MDL-80585 report_log: sanitize descriptions

Strip any HTML tags from values in the "Description" column.
This commit is contained in:
Leon Stringer
2024-04-12 11:30:23 +00:00
committed by Jenkins
parent fef8dda150
commit 5358ce28ee
+1 -1
View File
@@ -295,7 +295,7 @@ class report_log_table_log extends table_sql {
*/
public function col_description($event) {
// Description.
return $event->get_description();
return format_text($event->get_description(), FORMAT_PLAIN);
}
/**