mirror of https://github.com/sveltejs/svelte
fix: html tag hydration: regard empty claimed_nodes array as content mismatch (#9184)
fixes #6832pull/9379/head
parent
d8e382712c
commit
00700621bb
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: more robust hydration of html tag
|
@ -0,0 +1 @@
|
||||
1 2 3
|
@ -0,0 +1,3 @@
|
||||
1
|
||||
<!-- HTML_TAG_START -->2<!-- HTML_TAG_END -->
|
||||
3
|
@ -0,0 +1,5 @@
|
||||
<script>
|
||||
const a = 1, b=2, c=3;
|
||||
</script>
|
||||
|
||||
{a} {@html b} {c}
|
Loading…
Reference in new issue