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

Function escapeHtml

static/js/accounts.js:1765–1770  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

1763
1764// HTML 转义
1765function escapeHtml(text) {
1766 if (!text) return '';
1767 const div = document.createElement('div');
1768 div.textContent = text;
1769 return div.innerHTML;
1770}
1771
1772// ============== CPA 服务选择 ==============
1773

Callers 9

renderAccountsFunction · 0.70
renderAccountStatusDotFunction · 0.70
renderSubscriptionStatusFunction · 0.70
viewAccountFunction · 0.70
selectCpaServiceFunction · 0.70
selectSub2ApiServiceFunction · 0.70
selectCodex2apiServiceFunction · 0.70
showInboxCodeResultFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected