name-color: look in as

This commit is contained in:
mehbark 2024-07-25 23:53:48 -04:00
parent 55e4eeead6
commit efec4e2ce4

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) {