Penar Musaraj
2018-10-07 22:32:25 -04:00
committed by Guo Xiang Tan
parent 43512e9865
commit 26956bbe1a
2 changed files with 9 additions and 0 deletions

View File

@ -20,6 +20,11 @@ __setUnicode = function(replacements) {
}
text = text.replace(m[0], replacement);
}
// fixes Safari VARIATION SELECTOR-16 issue with some emojis
// https://meta.discourse.org/t/emojis-selected-on-ios-displaying-additional-rectangles/86132
text = text.replace(/\ufe0f/g, '');
return text;
};
};