mirror of https://github.com/sveltejs/svelte
parent
b579c5c06c
commit
7b2854ee75
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: correctly hydrate empty raw blocks
|
||||
@ -0,0 +1,15 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
server_props: {
|
||||
html: '<div></div>'
|
||||
},
|
||||
|
||||
props: {
|
||||
html: '<div></div>'
|
||||
},
|
||||
|
||||
test(assert, target) {
|
||||
assert.htmlEqual(target.innerHTML, '<div></div>');
|
||||
},
|
||||
});
|
||||
@ -0,0 +1 @@
|
||||
<div>{@html ''}</div>
|
||||
Loading…
Reference in new issue