MCPcopy 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
66function htmlToElement(html) {
67 const template = document.createElement('template');
68 template.innerHTML = html.trim();
69 return template.content.firstChild;
70}
71
72const assignedcolors = {};
73

Callers 1

navigationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected