From 9f969f0c3f37ab6ed53f2cca9966243cbc0d6a91 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Sat, 7 Nov 2026 21:09:03 +0900 Subject: [PATCH] =?UTF-8?q?fix(803-2a):=20=EC=88=98=EC=8B=9D=20=ED=8E=B8?= =?UTF-8?q?=EC=A7=91=EA=B8=B0=20=EC=89=BC=ED=91=9C=20=EA=B8=80=20=EA=BC=B4?= =?UTF-8?q?(=E3=80=8Ca,=20b=E3=80=8D)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- A00_Common/formula_doc_math_model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/A00_Common/formula_doc_math_model.ts b/A00_Common/formula_doc_math_model.ts index ba6aec420..69f88fd26 100644 --- a/A00_Common/formula_doc_math_model.ts +++ b/A00_Common/formula_doc_math_model.ts @@ -176,7 +176,7 @@ export function toLinear(items: Item[]): string { const go = (list: Item[]): string => list .map((it) => { - if (it.t === "ch") return OPS.has(it.c) ? ` ${it.c} ` : it.c; + if (it.t === "ch") return it.c === "," ? ", " : OPS.has(it.c) ? ` ${it.c} ` : it.c; if (it.t === "frac") return `(${go(it.num)}) / (${go(it.den)})`; if (it.t === "paren") return `(${go(it.body)})`; const body = go(it.body).trim();