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/7738/head
parent
12af45c0c8
commit
fb61331001
@ -1,3 +1,4 @@
|
||||
<template>
|
||||
<template id="t1">
|
||||
<div>foo</div>
|
||||
</template>
|
||||
</template>
|
||||
<template id="t2">123</template>
|
||||
Loading…
Reference in new issue