MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / escapeHtml

Function escapeHtml

static/js/selfcheck.js:15–19  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

13};
14
15function escapeHtml(value) {
16 const div = document.createElement('div');
17 div.textContent = String(value ?? '');
18 return div.innerHTML;
19}
20
21function normalizeStatus(status) {
22 const text = String(status || '').toLowerCase();

Callers 7

statusBadgeFunction · 0.70
renderRuntimeFunction · 0.70
renderRunsFunction · 0.70
renderRepairResultsFunction · 0.70
renderRepairPreviewFunction · 0.70
renderRepairRollbacksFunction · 0.70
renderRunDetailFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected