From c8cb22863bf8c3ac157f6098be9154908aea9ec2 Mon Sep 17 00:00:00 2001 From: Ulrich-Matthias Schäfer Date: Mon, 4 May 2020 21:35:21 +1000 Subject: Fixed IE Polyfills, got rid of ArrayPolyfill in favour of babels own transforms, updated dependencies, finished tests, removed old es5 tests --- src/polyfills/innerHTML.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/polyfills') diff --git a/src/polyfills/innerHTML.js b/src/polyfills/innerHTML.js index 4be7f1b..138277e 100644 --- a/src/polyfills/innerHTML.js +++ b/src/polyfills/innerHTML.js @@ -13,18 +13,18 @@ output.push('<', node.tagName) if (node.hasAttributes()) { [].forEach.call(node.attributes, function (attrNode) { - output.push(' ', attrNode.name, '=\'', attrNode.value, '\'') + output.push(' ', attrNode.name, '="', attrNode.value, '"') }) } + output.push('>') if (node.hasChildNodes()) { - output.push('>'); [].forEach.call(node.childNodes, function (childNode) { serializeXML(childNode, output) }) - output.push('') } else { - output.push('/>') + // output.push('/>') } + output.push('') } else if (nodeType === 8) { output.push('') } -- cgit v1.2.3