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

Function escapeHtml

static/js/logs.js:46–50  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

44};
45
46function escapeHtml(value) {
47 const div = document.createElement("div");
48 div.textContent = String(value ?? "");
49 return div.innerHTML;
50}
51
52function getLevelClass(level) {
53 const text = String(level || "").toUpperCase();

Callers 1

renderLogsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected