Merge branch 'MDL-81413-main' of https://github.com/lameze/moodle

This commit is contained in:
Huong Nguyen
2024-04-04 17:31:15 +07:00
+4 -3
View File
@@ -1025,9 +1025,10 @@ function chat_format_message_theme ($message, $chatuser, $currentuser, $grouping
// It cannot be called here as HTML-isation interferes with special case
// recognition, but *must* be called on any user-sourced text to be inserted
// into $outmain.
$options = new stdClass();
$options->para = false;
$options->blanktarget = true;
$options = [
'para' => false,
'blanktarget' => true,
];
// And now check for special cases.
$special = false;