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

Make sure that the message is shown with its original whitespace look intact

parent 017ab75b
......@@ -92,6 +92,7 @@ $unread = get_string('unread', 'activity');
foreach ($records as &$r) {
$r->date = format_date(strtotime($r->ctime));
$r->type = get_string('type' . $r->type, 'activity');
$r->message = format_whitespace($r->message);
}
$activity = array(
......
Supports Markdown
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