Browse Source

Fixed wrapPlaintext

master
Igor Zhukov 10 years ago
parent
commit
aac1fcb9be
  1. 4
      app/js/services.js

4
app/js/services.js

@ -3839,8 +3839,8 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils']) @@ -3839,8 +3839,8 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
while ((match = raw.match(regExp))) {
text.push(raw.substr(0, match.index));
if (match[7]) {
if ((emojiCode = emojiMap[match[7]]) &&
if (match[8]) {
if ((emojiCode = emojiMap[match[8]]) &&
(emojiTitle = emojiData[emojiCode][1][0])) {
text.push(':' + emojiTitle + ':');
} else {

Loading…
Cancel
Save