Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/idank/explainshell
/ htmlToElement
Function
htmlToElement
explainshell/web/static/js/es.js:66–70 ·
view source on GitHub ↗
(html)
Source
from the content-addressed store, hash-verified
64
}
65
66
function
htmlToElement(html) {
67
const
template = document.createElement(
'template'
);
68
template.innerHTML = html.trim();
69
return
template.content.firstChild;
70
}
71
72
const
assignedcolors = {};
73
Callers
1
navigation
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected