mirror of https://github.com/sveltejs/svelte
fix: insert comment before text in an each block, to prevent glued nodes (#13073)
parent
588d636ad6
commit
0203eb319b
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'svelte': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: insert comment before text in an each block, to prevent glued nodes
|
@ -0,0 +1,5 @@
|
|||||||
|
<svelte:options preserveWhitespace />
|
||||||
|
|
||||||
|
{#each 'abc' as l}
|
||||||
|
<div>{l}</div>
|
||||||
|
{/each}
|
@ -0,0 +1,3 @@
|
|||||||
|
{#each 'abc' as l}
|
||||||
|
{l}
|
||||||
|
{/each}
|
Loading…
Reference in new issue