表情处理

This commit is contained in:
Tim 2016-08-30 14:12:05 +08:00
parent e30416f6b3
commit bc1caf3d54
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ app.factory('common', ['$http', 'auth', '$routeParams','rms','config','wx','$loc
}
var temp = data.comment.replace(/\n/g,'<br/>');
temp = temp.replaceAll("[^\\u0000-\\uFFFF]", "[表情]");
temp = temp.replace(/^\:[a-z0-9_]+\:$/g, "[表情]");
var userInfo = {
type: type,