fix(report): keep the chat annual card's Tajika list, finish KP headings, say the dasha caveat once (BUG-1282)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017eEAG8HD3mm8gsKXgk8uU8
This commit is contained in:
Jesse_Chen
2026-10-08 22:30:33 +08:00
co-authored by Claude Opus 5.5
parent b8eef75871
commit a13f5c2683
9 changed files with 116 additions and 18 deletions
+3
View File
@@ -2949,6 +2949,9 @@ def render_pl9_parity_markdown(packet: dict) -> str:
dasha_pages = dasha.get('page_series') if isinstance(dasha.get('page_series'), list) else []
if dasha_pages:
lines.extend(['## Dasha Interpretation' if _lang == 'en' else '## 大运解释', ''])
_note = dasha.get('chapter_note') if isinstance(dasha.get('chapter_note'), dict) else {}
if _note.get(_lang):
lines.extend([str(_note[_lang]), ''])
for page in dasha_pages:
if not isinstance(page, dict):
continue