From 8164130349836e75d35471fd056cb449310e5548 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Tue, 22 Sep 2026 15:12:56 +0000 Subject: [PATCH] fix(markup): raise KaTeX MAX_CHARS limit to 10000 (#39387) --- web_src/js/markup/math.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/js/markup/math.ts b/web_src/js/markup/math.ts index 69cd164f8d2..a7de30e7de0 100644 --- a/web_src/js/markup/math.ts +++ b/web_src/js/markup/math.ts @@ -21,7 +21,7 @@ export async function initMarkupCodeMath(elMarkup: HTMLElement): Promise { import('katex/dist/katex.css'), ]); - const MAX_CHARS = 1000; + const MAX_CHARS = 10000; const MAX_SIZE = 25; const MAX_EXPAND = 1000;