lint compliance

This commit is contained in:
DianaXWiki 2024-09-06 13:21:18 +03:00
parent b780a8eab9
commit e866ebb17e
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ define([
else {
//this is for removing all trailing white characters and unnecessary/redundant emojis
name = name.replace(emojiWithZWJRegex, '');
name = name.replace(/[\uFE0F\u200D\u2060]/g, '');
name = name.replace(/\uFE0F/g, '').replace(/\u200D/g, '').replace(/\u2060/g, '');
name = name.trim();
}
var parts = name.split(/\s+/);