Summary
Multiple-choice option text in generated quiz cards can display raw LaTeX source instead of rendered math.
Current behavior
In the unified chat quiz card, the question stem renders LaTeX correctly, but answer options show escaped/source text such as raw inline math delimiters and commands. Examples include (1), (x\ne -3,0,3), and (\dfrac{x-3}{x}).
This is visible in the option rows (A/B/C/D), while the same card body renders math formulas correctly.
Expected behavior
LaTeX contained in option labels should be rendered the same way as LaTeX in the question body, so students see formatted math rather than source markup.
Reproduction context
- Start the web app and open the unified chat UI.
- Generate or view a multiple-choice math question whose answer options contain inline LaTeX.
- Observe that option rows display raw LaTeX delimiters and commands instead of rendered math.
Impact
This makes math answer choices hard to read and can obscure the intended answer, especially for expressions with fractions, inequalities, or excluded values.
Summary
Multiple-choice option text in generated quiz cards can display raw LaTeX source instead of rendered math.
Current behavior
In the unified chat quiz card, the question stem renders LaTeX correctly, but answer options show escaped/source text such as raw inline math delimiters and commands. Examples include (1), (x\ne -3,0,3), and (\dfrac{x-3}{x}).
This is visible in the option rows (A/B/C/D), while the same card body renders math formulas correctly.
Expected behavior
LaTeX contained in option labels should be rendered the same way as LaTeX in the question body, so students see formatted math rather than source markup.
Reproduction context
Impact
This makes math answer choices hard to read and can obscure the intended answer, especially for expressions with fractions, inequalities, or excluded values.