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

Method escapeHtml

static/js/utils.js:54–58  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

52 }
53
54 escapeHtml(text) {
55 const div = document.createElement('div');
56 div.textContent = text;
57 return div.innerHTML;
58 }
59
60 success(message, duration) {
61 return this.show(message, 'success', duration);

Callers 1

showMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected