diff --git a/index.mjs b/index.mjs
index 7aaf7b9..91012f8 100644
--- a/index.mjs
+++ b/index.mjs
@@ -276,7 +276,7 @@ function fillSlots(node, template) {
nodeName: 'span',
tagName: 'span',
attrs: [
- { name: 'slot', value: ' '}
+ { name: 'slot', value: ''}
],
childNodes: [child]
}
diff --git a/test/enhance.test.mjs b/test/enhance.test.mjs
index 05a1852..e63339c 100644
--- a/test/enhance.test.mjs
+++ b/test/enhance.test.mjs
@@ -67,7 +67,7 @@ test('default content in unnamed slot', t => {
`
const expected = `
My Content
Custom title
- Just text
+ Just text
- My Heading
+ My Heading