From f568e5c95d9ae87652e138f2d4fe422d9e338902 Mon Sep 17 00:00:00 2001 From: kyeongmin Date: Tue, 7 Apr 2026 07:45:32 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9D=B4=EB=AF=B8=EC=A7=80=20=EB=A7=88?= =?UTF-8?q?=ED=81=AC=EB=8B=A4=EC=9A=B4=20=ED=95=84=ED=84=B0=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80:=20![alt](path)=20=ED=8C=A8=ED=84=B4=EB=8F=84=20conte?= =?UTF-8?q?nt=5Flines=EC=97=90=EC=84=9C=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - block_assembler + assemble_stage2: 기존 [이미지:] 패턴에 ![markdown image 패턴 추가 - 02번 상단 "소통과 신뢰" 카드에 이미지 경로가 불릿으로 표시되던 문제 해결 Co-Authored-By: Claude Opus 4.6 (1M context) --- scripts/assemble_stage2.py | 2 +- src/block_assembler.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/assemble_stage2.py b/scripts/assemble_stage2.py index 444696f..2279538 100644 --- a/scripts/assemble_stage2.py +++ b/scripts/assemble_stage2.py @@ -717,7 +717,7 @@ def _assemble_type_b(run: Path, ctx: dict): if popup_match: popup_titles.append(popup_match.group(1)) continue - if re.search(r'\[이미지:', stripped): + if re.search(r'\[이미지:', stripped) or re.match(r'^!\[', stripped): continue content_lines.append(stripped) diff --git a/src/block_assembler.py b/src/block_assembler.py index 3269f6e..544cf12 100644 --- a/src/block_assembler.py +++ b/src/block_assembler.py @@ -586,7 +586,7 @@ def _assemble_slide_html_type_b(ctx: "PipelineContext", title_text: str = "") -> if popup_match: popup_titles.append(popup_match.group(1)) continue - if re.search(r'\[이미지:', stripped): + if re.search(r'\[이미지:', stripped) or re.match(r'^!\[', stripped): continue content_lines.append(stripped)