We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07b1e69 commit 6fc71adCopy full SHA for 6fc71ad
src/mnml.ts
@@ -36,7 +36,7 @@ export const mnml = (() => {
36
if (!createElementCache[tagName]) {
37
createElementCache[tagName] = document.createElement(tagName);
38
}
39
- return createElementCache[tagName].cloneNode() as HTMLElement;
+ return createElementCache[tagName].cloneNode(true) as HTMLElement;
40
};
41
42
const createHTML = (content: string): DocumentFragment => {
0 commit comments