Svelte 5 throws a warning if you use self-closing div tags:
node_modules/svelte-highlight/LineNumbers.svelte:48:14 Self-closing HTML tags for non-void elements are ambiguous — use `<div ...></div>` rather than `<div ... />`
node_modules/svelte-highlight/LineNumbers.svelte:57:14 Self-closing HTML tags for non-void elements are ambiguous — use `<div ...></div>` rather than `<div ... />
It would help cut down on warning messages I'm getting (and other folks will get in the future) by adding a </div> where needed.
Svelte 5 throws a warning if you use self-closing div tags:
It would help cut down on warning messages I'm getting (and other folks will get in the future) by adding a
</div>
where needed.