mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
MDL-41941 clean message text
This commit is contained in:
parent
6178bb2091
commit
1555e10cdf
1 changed files with 2 additions and 0 deletions
|
@ -2042,6 +2042,8 @@ function message_format_message($message, $format='', $keywords='', $class='othe
|
|||
|
||||
$messagetext .= message_format_contexturl($message);
|
||||
|
||||
$messagetext = clean_text($messagetext, FORMAT_HTML);
|
||||
|
||||
return <<<TEMPLATE
|
||||
<div class='message $class'>
|
||||
<a name="m'.{$message->id}.'"></a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue