Make Anonymize Usernames collect usernames case-insensitively.
This commit is contained in:
parent
68a1399685
commit
1975a821d6
|
@ -42,5 +42,5 @@ function generateReplacements(elements: HTMLElement[]): Record<string, string> {
|
||||||
}
|
}
|
||||||
|
|
||||||
function usernameFromElement(element: HTMLElement): string {
|
function usernameFromElement(element: HTMLElement): string {
|
||||||
return (element.textContent ?? "<unknown>").trim();
|
return (element.textContent ?? "<unknown>").trim().toLowerCase();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue