Fix Bug 52904

This commit is contained in:
Julia Radzhabova 2022-02-01 18:18:03 +03:00
parent 6e30c19e1c
commit c89170ce29

View file

@ -806,7 +806,7 @@ define([
},
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){
return str.slice(1, str.length);
});