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:
@@ -1080,7 +1080,7 @@ def _assemble_slide_html_type_b_prime(ctx: "PipelineContext", title_text: str =
|
|||||||
)
|
)
|
||||||
if sec_title:
|
if sec_title:
|
||||||
bullets += (
|
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'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'<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>'
|
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 == "➠":
|
if clean_plain in table_cell_texts or clean_plain == "➠":
|
||||||
continue
|
continue
|
||||||
if re.search(r'\[핵심요약:', clean):
|
if re.search(r'\[핵심요약:', clean):
|
||||||
continue
|
break # 핵심요약 이후는 결론이므로 스킵
|
||||||
if clean:
|
if clean:
|
||||||
clean = _bold(clean, rn)
|
clean = _bold(clean, rn)
|
||||||
_pad = bl_indent * depth
|
_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)
|
stripped = re.sub(r'^D\d+:\s*', '', stripped)
|
||||||
clean = stripped.lstrip("- ").lstrip("• ")
|
clean = stripped.lstrip("- ").lstrip("• ")
|
||||||
if re.search(r'\[핵심요약:', clean):
|
if re.search(r'\[핵심요약:', clean):
|
||||||
continue
|
break # 핵심요약 이후는 결론이므로 스킵
|
||||||
if clean:
|
if clean:
|
||||||
clean = _bold(clean, rn)
|
clean = _bold(clean, rn)
|
||||||
_pad = bl_indent * depth
|
_pad = bl_indent * depth
|
||||||
|
|||||||
BIN
templates/참고 페이지/1번.png
Normal file
BIN
templates/참고 페이지/1번.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 449 KiB |
BIN
templates/참고 페이지/2번.png
Normal file
BIN
templates/참고 페이지/2번.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 292 KiB |
BIN
templates/참고 페이지/3번.png
Normal file
BIN
templates/참고 페이지/3번.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 434 KiB |
BIN
templates/참고 페이지/4번.png
Normal file
BIN
templates/참고 페이지/4번.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 379 KiB |
Reference in New Issue
Block a user