Files
DeepTutor/web/components/quiz
Bingxi Zhao (Frank) 7caa0506a8 fix(quiz): wrap LaTeX option label in a div, not a span
MarkdownRenderer (with enableMath) renders a block-level <div><p> root;
nesting it in a <span> inside the option <button> is invalid HTML and
trips React's validateDOMNesting. Use a <div> to match the four sibling
MarkdownRenderer call sites in this file. The serif/prose option text is
intentional — it matches the question stem, which also renders via
MarkdownRenderer.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-23 20:51:00 +08:00
..
2026-06-17 10:30:25 +08:00