mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 22:03:50 +02:00
Remove emojis fix
This commit is contained in:
@@ -18516,7 +18516,7 @@ speechSynthesis.getVoices();
|
||||
|
||||
$app.methods.replaceBioSymbols = function (text) {
|
||||
if (!text) {
|
||||
return void 0;
|
||||
return '';
|
||||
}
|
||||
var symbolList = {
|
||||
'@': '@',
|
||||
@@ -18556,6 +18556,9 @@ speechSynthesis.getVoices();
|
||||
};
|
||||
|
||||
$app.methods.removeEmojis = function (text) {
|
||||
if (!text) {
|
||||
return '';
|
||||
}
|
||||
return text
|
||||
.replace(
|
||||
/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g,
|
||||
|
||||
Reference in New Issue
Block a user