diff --git a/src/print/index.ts b/src/print/index.ts
index f525b39..44ad01f 100644
--- a/src/print/index.ts
+++ b/src/print/index.ts
@@ -215,10 +215,10 @@ export function print(path: FastPath, options: ParserOptions, print: PrintFn): D
((((node.type === 'Element' && !options.svelteStrictMode) ||
node.type === 'Head' ||
node.type === 'InlineComponent' ||
+ node.type === 'Slot' ||
node.type === 'SlotTemplate' ||
node.type === 'Title') &&
didSelfClose) ||
- node.type === 'Slot' ||
node.type === 'Window' ||
selfClosingTags.indexOf(node.name) !== -1 ||
isDoctypeTag);
diff --git a/test/printer/samples/self-closing-tags-lenient.html b/test/printer/samples/self-closing-tags-lenient.html
new file mode 100644
index 0000000..23ef5f1
--- /dev/null
+++ b/test/printer/samples/self-closing-tags-lenient.html
@@ -0,0 +1,2 @@
+
+
diff --git a/test/printer/samples/self-closing-tags.html b/test/printer/samples/self-closing-tags.html
index 662774b..aa8e049 100644
--- a/test/printer/samples/self-closing-tags.html
+++ b/test/printer/samples/self-closing-tags.html
@@ -6,6 +6,8 @@
+
+