03번 B' 개선: 카드 flex:1 균등 + 결론 텍스트 중복 제거

- block_assembler B': 카드 div에 flex:1 추가 → 가로 균등 높이/폭
- block_assembler: [핵심요약:] 이후 라인 break → 결론 텍스트가 하단에 섞이는 문제 해결
- 남은 문제: 하단 좌 콘텐츠 잘림, 상단 자연(여건) 불릿 잘림

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-07 11:15:26 +09:00
parent b13df8b176
commit cba2ec2be7
5 changed files with 3 additions and 3 deletions

View File

@@ -1080,7 +1080,7 @@ def _assemble_slide_html_type_b_prime(ctx: "PipelineContext", title_text: str =
)
if sec_title:
bullets += (
f'<div style="background:{bg};border-radius:{int(font_size*0.4)}px;'
f'<div style="flex:1;background:{bg};border-radius:{int(font_size*0.4)}px;'
f'padding:{card_pad}px {int(card_pad*1.5)}px;margin-bottom:{card_gap}px;">'
f'<div style="font-size:{font_size}px;font-weight:700;color:#fbbf24;'
f'margin-bottom:{int(font_size*0.3)}px;">{_bold(sec_title, rn)}</div>'
@@ -1222,7 +1222,7 @@ def _assemble_slide_html_type_b_prime(ctx: "PipelineContext", title_text: str =
if clean_plain in table_cell_texts or clean_plain == "":
continue
if re.search(r'\[핵심요약:', clean):
continue
break # 핵심요약 이후는 결론이므로 스킵
if clean:
clean = _bold(clean, rn)
_pad = bl_indent * depth
@@ -1256,7 +1256,7 @@ def _assemble_slide_html_type_b_prime(ctx: "PipelineContext", title_text: str =
stripped = re.sub(r'^D\d+:\s*', '', stripped)
clean = stripped.lstrip("- ").lstrip("")
if re.search(r'\[핵심요약:', clean):
continue
break # 핵심요약 이후는 결론이므로 스킵
if clean:
clean = _bold(clean, rn)
_pad = bl_indent * depth