Fix Bug 52904
This commit is contained in:
parent
6e30c19e1c
commit
c89170ce29
|
@ -806,7 +806,7 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
pickEMail: function (commentId, message) {
|
pickEMail: function (commentId, message) {
|
||||||
var arr = Common.Utils.String.htmlEncode(message).match(/\B[@+][A-Z0-9._%+-]+@[A-Z0-9._]+\.[A-Z]+\b/gi);
|
var arr = Common.Utils.String.htmlEncode(message).match(/\B[@+][A-Z0-9._%+-]+@[A-Z0-9._-]+\.[A-Z]+\b/gi);
|
||||||
arr = _.map(arr, function(str){
|
arr = _.map(arr, function(str){
|
||||||
return str.slice(1, str.length);
|
return str.slice(1, str.length);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue