2
0
mirror of https://github.com/iconify/iconify.git synced 2024-11-16 09:37:09 +00:00

Update Icon.svelte

Svelte 5 [vite-plugin-svelte] /node_modules/@iconify/svelte/dist/Icon.svelte:116:2 Self-closing HTML tags for non-void elements are ambiguous — use `<span ...></span>` rather than `<span ... />`
This commit is contained in:
Mattias Persson 2024-05-03 23:35:34 +02:00 committed by GitHub
parent 59bf4012b5
commit 33610d5831
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -113,6 +113,6 @@ export {
{@html data.body} {@html data.body}
</svg> </svg>
{:else} {:else}
<span {...data.attributes} /> <span {...data.attributes}></span>
{/if} {/if}
{/if} {/if}