mirror of https://github.com/sveltejs/svelte
parent
f2d111264c
commit
3a4a09102c
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'svelte': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: improve whitespace handling
|
@ -0,0 +1,8 @@
|
|||||||
|
import { test } from '../../test';
|
||||||
|
|
||||||
|
export default test({
|
||||||
|
compileOptions: {
|
||||||
|
dev: true // Render in dev mode to check that the validation error is not thrown
|
||||||
|
},
|
||||||
|
html: `A\nB\nC\nD`
|
||||||
|
});
|
@ -0,0 +1,5 @@
|
|||||||
|
A
|
||||||
|
{#snippet snip()}C{/snippet}
|
||||||
|
B
|
||||||
|
{@render snip()}
|
||||||
|
D
|
Loading…
Reference in new issue