`<!DOCTYPE html><html><body>${highlight}</body></html>`,
"text/html",
).documentElement.lastChild.childNodes;
+ code.setAttribute(
+ "class",
+ `hljs ${code.getAttribute("class")}`,
+ );
code.textContent = "";
for (const node of Array.from(nodes)) {
code.appendChild(code.ownerDocument.importNode(node, true));