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

Function escapeHtml

static/js/payment.js:168–172  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

166}
167
168function escapeHtml(value) {
169 const div = document.createElement("div");
170 div.textContent = String(value ?? "");
171 return div.innerHTML;
172}
173
174function yesNo(value) {
175 return value ? "是" : "否";

Callers 3

renderBatchProfilesFunction · 0.70
runnerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected