downforacross / downforacross.com

Web frontend for downforacross.com -- continuation of stevenhao/crosswordsio
https://downforacrosscom.downforacross1.now.sh
MIT License
220 stars 92 forks source link

Underlined clues don't render correctly #301

Closed zhiyi-zhang-duke closed 5 months ago

zhiyi-zhang-duke commented 6 months ago

If you look at one of the recent puzzles: NY Times, Thursday, January 4, 2024 51 across is rendered as:

image

64 across:

image

I'm guessing they're just supposed to just be underlined.

lllloyd commented 6 months ago

Here's a console command to fix it for today!

let els = document.getElementsByClassName("clues--list--scroll--clue--text");
for (const el of els) {
let e = document.createElement("div");
e.innerHTML = el.firstChild.innerText;
el.removeChild(el.firstChild);
el.appendChild(e);
}
zhiyi-zhang-duke commented 5 months ago

I believe this can be closed!