MCPcopy
hub / github.com/composio-community/open-claude-cowork / escapeHtml

Function escapeHtml

renderer/renderer.js:1445–1449  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

1443
1444// Escape HTML for safe display
1445function escapeHtml(str) {
1446 const div = document.createElement('div');
1447 div.textContent = str;
1448 return div.innerHTML;
1449}
1450
1451// Copy message to clipboard
1452function copyMessage(button) {

Callers 4

renderChatHistoryFunction · 0.85
addInlineToolCallFunction · 0.85
addToolCallFunction · 0.85
renderTodosFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected