mirror of https://github.com/sveltejs/svelte
[fix] textContent should not be set for <template> element. (#7297)
* [fix] textContent should not be set for <template> element. * tidy - name convetion. minor refactor extract "is template" check to a variable and replace usages. * test template with text content * update html in testpull/7467/head
parent
df75dd77f4
commit
fb341cca2c
@ -1,3 +1,4 @@
|
||||
<template>
|
||||
<template id="t1">
|
||||
<div>foo</div>
|
||||
</template>
|
||||
</template>
|
||||
<template id="t2">123</template>
|
Loading…
Reference in new issue