Commit 43303646 authored by Nigel McNie's avatar Nigel McNie
Browse files

Run notification data through clean_html, mainly in order to do auto-linking.

parent e1d489c8
......@@ -128,7 +128,7 @@ foreach ($records as &$r) {
$section = $r->plugintype . '.' . $r->pluginname;
}
$r->type = get_string('type' . $r->type, $section);
$r->message = format_whitespace($r->message);
$r->message = clean_html(format_whitespace($r->message));
}
$activity = array(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment