vtbassmatt / triviagame

3 stars 0 forks source link

When scoring a question, Markdown gets unrendered #64

Closed vtbassmatt closed 2 days ago

vtbassmatt commented 1 week ago

We aren't re-rendering the Markdown for some reason when a question gets scored.

vtbassmatt commented 2 days ago

On htmx swap, we try to look for elements which need Markdown within the swapped contents. But for some reason, htmx.findAll isn't returning any children. In 608d7ed14e15c244e175ed36f63ea252cb66d006, as a workaround, scan the whole document.