1
Fork 0

Make Anonymize Usernames collect usernames case-insensitively.

This commit is contained in:
Bauke 2023-07-18 13:16:20 +02:00
parent 68a1399685
commit 1975a821d6
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 1 additions and 1 deletions

View File

@ -42,5 +42,5 @@ function generateReplacements(elements: HTMLElement[]): Record<string, string> {
}
function usernameFromElement(element: HTMLElement): string {
return (element.textContent ?? "<unknown>").trim();
return (element.textContent ?? "<unknown>").trim().toLowerCase();
}