diff --git a/packages/dom/src/clone-dom.js b/packages/dom/src/clone-dom.js index 37ca0c9d0..f6a710d77 100644 --- a/packages/dom/src/clone-dom.js +++ b/packages/dom/src/clone-dom.js @@ -15,7 +15,9 @@ export function cloneNodeAndShadow({ dom, disableShadowDOM }) { let cloneNode = (node, parent) => { let walkTree = (nextn, nextp) => { while (nextn) { - cloneNode(nextn, nextp); + if (nextn.nodeName != "NOSCRIPT"){ + cloneNode(nextn, nextp); + } nextn = nextn.nextSibling; } };