mirror of https://github.com/sveltejs/svelte
parent
1d773ef3a4
commit
24dccce3a9
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: `pre` tag with single `\n` incorrect hydration
|
@ -0,0 +1,3 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({});
|
@ -0,0 +1,2 @@
|
||||
<!--[--><pre><div><span></span></div>
|
||||
</pre><!--]-->
|
@ -0,0 +1,7 @@
|
||||
<script>
|
||||
let name = $state('');
|
||||
</script>
|
||||
|
||||
<pre>
|
||||
<div><span>{name}</span></div>
|
||||
</pre>
|
Loading…
Reference in new issue