mirror of https://github.com/sveltejs/svelte
fix: account for `<template>` tag in `{@html}` (#7364)
Ensure innerHTML for template is done on template element fixes #7315 fixes #7319 --------- Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>pull/8328/head
parent
dc7fd76e53
commit
aa15a64cbe
@ -1,4 +1,5 @@
|
||||
<template id="t1">
|
||||
<div>foo</div>
|
||||
</template>
|
||||
<template id="t2">123</template>
|
||||
<template id="t2">123</template>
|
||||
<template id="t3">1{@html '<b>B</b>'}1</template>
|
Loading…
Reference in new issue