MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / e

Function e

compliance_report.py:358–359  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

356def 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">'

Callers 2

badgeFunction · 0.70
render_compliance_htmlFunction · 0.70

Calls 1

escapeMethod · 0.80

Tested by

no test coverage detected