Files
DeepTutor/web
riccardo-algorime c55776f680 fix(web): tighten a loose $ formula before wrapping bare LaTeX
A formula closed with a space before the dollar (`$\lim a_n = $ ____`, the
usual shape of a fill-in-the-blank question) is no MATH_SPAN_RE match, so
the bare-LaTeX pass wrapped its body again and produced `$$\lim a_n =$ $`:
a display block that never closes, with the rest of the text raw.
Pairing the dollars before that pass tightens it first; the final pass
still runs as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 13:56:10 +00:00
..
…