mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 18:20:33 +08:00
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>