Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
Julia Radzhabova 2021-05-12 19:04:37 +03:00
commit 4a383469a3

View file

@ -587,7 +587,7 @@ Common.Utils.String = new (function() {
},
htmlEncode: function(string) {
return !!_ ? _.escape(string) :
return (typeof _ !== 'undefined') ? _.escape(string) :
string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); // $& means the whole matched string
},