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
commit 35a9c9609a
No known key found for this signature in database
GPG Key ID: 40D88AB693A3E72A

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;