From a483f9add735faed824cc69b9322d6d15c58440c Mon Sep 17 00:00:00 2001 From: kim Date: Thu, 15 Oct 2026 14:55:16 +0900 Subject: [PATCH] =?UTF-8?q?fix(markdown):=20=ED=91=9C=20=EA=B5=AC=EB=B6=84?= =?UTF-8?q?=ED=96=89=EC=97=90=20'=5F'=20=EB=93=B1=EC=9D=B4=20=EC=84=9E?= =?UTF-8?q?=EC=97=AC=EB=8F=84(:---=5F)=20=ED=91=9C=EB=A1=9C=20=EB=A0=8C?= =?UTF-8?q?=EB=8D=94=EB=A7=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5.5 --- web-ui/js/app/markdown.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web-ui/js/app/markdown.js b/web-ui/js/app/markdown.js index e4f5d46..6b59e06 100644 --- a/web-ui/js/app/markdown.js +++ b/web-ui/js/app/markdown.js @@ -353,7 +353,8 @@ function renderMarkdown(text, opts) { if (cells.length && cells[cells.length - 1].trim() === '') cells.pop(); return cells.map(function(c) { return c.trim(); }); }; - var isSep = function(line) { return /^\|[\s|:\-]+\|[ \t]*$/.test(line.trim()); }; + // 모델이 구분행에 '_'·'=' 를 섞어 내는 경우(:---_)도 표로 인정하되, 하이픈이 하나는 있어야 한다. + var isSep = function(line) { var t = line.trim(); return /^\|[\s|:\-_=]+\|[ \t]*$/.test(t) && t.indexOf('-') !== -1; }; var isRow = function(line) { return /^\|.+\|[ \t]*$/.test(line.trim()); }; var i = 0; while (i < lines.length) {