We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c197ca0 commit b1674e4Copy full SHA for b1674e4
src/chapters/parser.ts
@@ -275,7 +275,7 @@ function parseMapDrops(div: Element): MapDrop[] {
275
if (n.nodeType === 3) rewards.push(n.textContent.replace(",", "").trim());
276
} else {
277
let e = n as HTMLElement
278
- buf += e?.firstElementChild?.getAttribute("alt") ?? e?.firstElementChild?.title ?? e?.getAttribute("alt") ?? e?.title ?? e?.textContent ?? ""
+ buf += e?.firstElementChild?.getAttribute("alt") ?? e?.firstElementChild?.getAttribute("title") ?? e?.getAttribute("alt") ?? e?.getAttribute("title") ?? e?.textContent ?? ""
279
while (m = buf.match(MAP_DROP_REGEX)) {
280
buf = buf.slice(m[0].length)
281
rewards.push({
0 commit comments