mirror of https://github.com/sveltejs/svelte
handle empty attributes in elements and components. fixes #63
parent
8a3f81363d
commit
7b15ff93ac
@ -0,0 +1,3 @@
|
||||
export default {
|
||||
html: `<div class=""></div>`
|
||||
};
|
@ -0,0 +1 @@
|
||||
<div class=''></div>
|
@ -0,0 +1 @@
|
||||
<p>foo: '{{foo}}'</p>
|
@ -0,0 +1,3 @@
|
||||
export default {
|
||||
html: `<div><p>foo: ''</p></div>`
|
||||
};
|
@ -0,0 +1,11 @@
|
||||
<div>
|
||||
<Widget foo=''/>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
import Widget from './Widget.html';
|
||||
|
||||
export default {
|
||||
components: { Widget }
|
||||
};
|
||||
</script>
|
Loading…
Reference in new issue