Files
Verso/services/web/frontend
claudeandClaude Sonnet 4.6 f9d46aabeb
Build and Deploy Verso / deploy (push) Successful in 9m43s
fix: revert mathContentTokenizer regression (contextual + no-newline-stop)
The previous change switched mathContentTokenizer to contextual:true with no
newline stop, intending to support multi-line Typst block math.  However,
LALR state merging causes canShift(MathContent) to spuriously return true in
body-text positions (e.g. after a RawInline backtick close), so the tokenizer
consumed everything until the next '$' — turning a full paragraph orange.

Revert to contextual:false with newline stop.  This correctly handles both
inline ($x^2$) and single-line block ($ integral ... $) math.  Multi-line
block math ($ formula\n continuation $) remains a separate issue for later.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-08 21:50:15 +00:00
..
2026-06-03 08:05:55 +00:00