Fixed wrapPlaintext
This commit is contained in:
parent
575b7a042e
commit
aac1fcb9be
@ -3839,8 +3839,8 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
|
|||||||
while ((match = raw.match(regExp))) {
|
while ((match = raw.match(regExp))) {
|
||||||
text.push(raw.substr(0, match.index));
|
text.push(raw.substr(0, match.index));
|
||||||
|
|
||||||
if (match[7]) {
|
if (match[8]) {
|
||||||
if ((emojiCode = emojiMap[match[7]]) &&
|
if ((emojiCode = emojiMap[match[8]]) &&
|
||||||
(emojiTitle = emojiData[emojiCode][1][0])) {
|
(emojiTitle = emojiData[emojiCode][1][0])) {
|
||||||
text.push(':' + emojiTitle + ':');
|
text.push(':' + emojiTitle + ':');
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user