mirror of https://github.com/sveltejs/svelte
fix: always assign text.nodeValue (#11944)
* fix: always assign text.nodeValue * guard * this seems to workpull/11963/head
parent
69d2480f4d
commit
76388d042c
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'svelte': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: always assign text.nodeValue
|
@ -0,0 +1,6 @@
|
|||||||
|
import { flushSync } from 'svelte';
|
||||||
|
import { test } from '../../test';
|
||||||
|
|
||||||
|
export default test({
|
||||||
|
html: `<p>space between</p>`
|
||||||
|
});
|
@ -0,0 +1,7 @@
|
|||||||
|
<svelte:options runes />
|
||||||
|
|
||||||
|
<p>
|
||||||
|
{#each ['space', ' ', 'between'] as word}
|
||||||
|
{word}
|
||||||
|
{/each}
|
||||||
|
</p>
|
Loading…
Reference in new issue