mirror of https://github.com/sveltejs/svelte
parent
e9b0908ed8
commit
94aab90bd1
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: improve text node output
|
@ -0,0 +1,5 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
html: `<p>A<br>B<br>C<br></p>`
|
||||
});
|
@ -0,0 +1,9 @@
|
||||
<script>
|
||||
let array = $state(['A', 'B', 'C']);
|
||||
</script>
|
||||
|
||||
<p>
|
||||
{#each array as a}
|
||||
{a}<br/>
|
||||
{/each}
|
||||
</p>
|
Loading…
Reference in new issue