Skip to content

Commit 980c2bb

Browse files
committed
fix
1 parent 103dc57 commit 980c2bb

File tree

1 file changed

+1
-1
lines changed
  • packages/svelte/src/compiler/print

1 file changed

+1
-1
lines changed

packages/svelte/src/compiler/print/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ const svelte_visitors = {
348348
} else {
349349
sequence.push(child_node);
350350

351-
if (child_node.type === 'RegularElement') flush();
351+
if (next && child_node.type === 'RegularElement') flush();
352352
}
353353
}
354354

0 commit comments

Comments
 (0)