diff --git a/lib/moodlelib.php b/lib/moodlelib.php index fe642a9..0ce8767 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -9929,12 +9929,6 @@ $smallmessage = $message_users->smallmessage; } - //prevent html symbols being displayed - if ($message_users->fullmessageformat == FORMAT_HTML) { - $smallmessage = html_to_text($smallmessage); - } else { - $smallmessage = s($smallmessage); - } } else if ($message_users->notification) { //its a notification with no smallmessage so just say they have a notification $smallmessage = get_string('unreadnewnotification', 'message'); @@ -9958,6 +9952,7 @@ html_writer::link('', $strstaymessage, array('id'=>'notificationno')). html_writer::end_tag('div'); html_writer::end_tag('div'); + echo $strmessages."<"; $PAGE->requires->js_init_call('M.core_message.init_notification', array('', $content, $url));