name-color: look in as

This commit is contained in:
mehbark 2024-07-25 23:53:48 -04:00
parent c7aba3042b
commit d0945a0dbe

View file

@ -67,7 +67,7 @@ async function get_name_color(name: string): Promise<string | undefined> {
}
}
for (const p of dom.querySelectorAll("p")) {
for (const p of dom.querySelectorAll("p, a")) {
if (!p.textContent.includes("name-color:")) continue;
for (const node of p.childNodes) {