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

Function escapeHtml

static/js/settings.js:927–932  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

925
926// HTML 转义
927function escapeHtml(text) {
928 if (!text) return '';
929 const div = document.createElement('div');
930 div.textContent = text;
931 return div.innerHTML;
932}
933
934
935// ============================================================================

Callers 7

renderEmailServicesFunction · 0.70
renderProxiesFunction · 0.70
renderCpaServicesTableFunction · 0.70
renderSub2ApiServicesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected