Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64e8311
)
MDL-37138 chat: Use blanktarget option for chat text
author
Cameron Ball
<cameron@moodle.com>
Fri, 27 May 2016 02:33:55 +0000
(10:33 +0800)
committer
Cameron Ball
<cameron@moodle.com>
Mon, 30 May 2016 05:18:02 +0000
(13:18 +0800)
mod/chat/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/chat/lib.php
b/mod/chat/lib.php
index
53968b4
..
3c5d57a
100644
(file)
--- a/
mod/chat/lib.php
+++ b/
mod/chat/lib.php
@@
-749,6
+749,7
@@
function chat_format_message_manually($message, $courseid, $sender, $currentuser
// Parse the text to clean and filter it.
$options = new stdClass();
$options->para = false;
+ $options->blanktarget = true;
$text = format_text($text, FORMAT_MOODLE, $options, $courseid);
// And now check for special cases.
@@
-922,6
+923,7
@@
function chat_format_message_theme ($message, $chatuser, $currentuser, $grouping
// Parse the text to clean and filter it.
$options = new stdClass();
$options->para = false;
+ $options->blanktarget = true;
$text = format_text($text, FORMAT_MOODLE, $options, $courseid);
// And now check for special cases.