mirror of https://github.com/sveltejs/svelte
Merge pull request #71 from sveltejs/gh-63
handle empty attributes in elements and componentspull/7738/head
commit
aafaf38cba
@ -0,0 +1,7 @@
|
|||||||
|
export default {
|
||||||
|
html: `
|
||||||
|
<svg>
|
||||||
|
<g class=''></g>
|
||||||
|
</svg>
|
||||||
|
`
|
||||||
|
};
|
After Width: | Height: | Size: 31 B |
@ -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