And escape special characters from display name...

This commit is contained in:
Noi 2023-09-09 10:50:38 -07:00
parent 9baf7016a2
commit 5aaa860205

View file

@ -24,7 +24,7 @@ static class Common {
if (member.Nickname != null) {
return $"**{escapeFormattingCharacters(member.Nickname)}** ({escapeFormattingCharacters(member.ToString())})";
}
return member.ToString();
return escapeFormattingCharacters(member.ToString());
} else {
var username = escapeFormattingCharacters(member.Username);
if (member.Nickname != null) {