MCPcopy Create free account
hub / github.com/CodeClash-ai/CodeClash / escapeHtml

Function escapeHtml

codeclash/viewer/static/js/trajectory.js:322–326  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

320}
321
322function escapeHtml(text) {
323 const div = document.createElement("div");
324 div.textContent = text;
325 return div.innerHTML;
326}

Callers 4

createFullContentHTMLFunction · 0.70
createPreviewContentHTMLFunction · 0.70
createComplexContentHTMLFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected