fix(report): draw North Indian charts from fences after skipHtml dropped SVG

Longform report pages kept the D1/D9/Moon and varga headings but skipHtml
stripped the engine's inline SVG. Emit a jyotish-chart JSON fence beside
each SVG and render a diamond chart on the reader without relaxing HTML
sanitization. BUG-607.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jesse_Chen
2026-09-09 15:11:00 +08:00
co-authored by Cursor
parent d5972ef44a
commit 2fdcb14fd6
23 changed files with 2628 additions and 124 deletions
+2
View File
@@ -83,6 +83,8 @@ CORE_PYTEST_TARGETS = [
"tests/test_consultation_workflow_birth_time_sensitivity.py",
"tests/test_report_longform_parity.py",
"tests/test_report_longform_gaps2.py",
# 22 SVG fences beside each longform chart; skipHtml dropped the HTML (BUG-607).
"tests/test_report_chart_block.py",
"tests/test_timing_precision_contract.py",
"tests/test_flexible_birth_time_report_contract.py",
"tests/test_mcp_strict_workflow_finance.py",