(value)
| 356 | def render_compliance_html(cis: Dict[str, Any], pci: Dict[str, Any]) -> str: |
| 357 | """Render a self-contained HTML compliance report from both framework views.""" |
| 358 | def e(value): |
| 359 | return html.escape(str(value if value is not None else "")) |
| 360 | |
| 361 | def badge(status): |
| 362 | return (f'<span style="color:{_STATUS_COLORS.get(status, "#9ca3af")};font-weight:600">' |
no test coverage detected