Skip to content

Commit

Permalink
Add thin space for ar lang (Fix bug 66502)
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaRadzhabova committed Feb 29, 2024
1 parent 0fc467e commit b898dc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/common/main/lib/util/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1183,7 +1183,7 @@ Common.Utils.getUserInitials = function(username) {
for (var i = fio.length-1; i>0; i--) {
if (fio[i][0]!=='(' && fio[i][0]!==')') {
if (/[\u0600-\u06FF]/.test(initials))
initials += ' ';
initials += '\u2009';
initials += fio[i].substring(0, 1).toUpperCase();
break;
}
Expand Down

0 comments on commit b898dc0

Please sign in to comment.