mirror of https://github.com/sveltejs/svelte
enclose text/compound slot attributes in backticks - fixes #2061
parent
cf775486cf
commit
e9b714110c
@ -0,0 +1 @@
|
|||||||
|
<slot value="Hi" />
|
@ -0,0 +1,3 @@
|
|||||||
|
export default {
|
||||||
|
html: `<p>Hi</p>`
|
||||||
|
};
|
@ -0,0 +1,7 @@
|
|||||||
|
<script>
|
||||||
|
import Nested from './Nested.html';
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<Nested let:value>
|
||||||
|
<p>{value}</p>
|
||||||
|
</Nested>
|
Loading…
Reference in new issue