mirror of https://github.com/sveltejs/svelte
fix: render undefined html as the empty string (#13092)
Fix #13069 --------- Co-authored-by: adiGuba <frederic.martini@gmail.com> Co-authored-by: Rich Harris <rich.harris@vercel.com>pull/13085/head
parent
d776e522d2
commit
b70d12c2e3
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'svelte': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: render undefined html as the empty string
|
@ -0,0 +1,5 @@
|
|||||||
|
import { test } from '../../test';
|
||||||
|
|
||||||
|
export default test({
|
||||||
|
html: ''
|
||||||
|
});
|
@ -0,0 +1 @@
|
|||||||
|
{@html undefined}
|
Loading…
Reference in new issue