abosch19 / svelte-fast-marquee

A lightweight Svelte component that harnesses the power of CSS animations to create silky smooth marquees.
https://svelte-fast-marquee-docs.vercel.app/
MIT License
42 stars 5 forks source link

Svelte 5: fix self-closing HTML Tags error #9

Open vyconm opened 1 month ago

vyconm commented 1 month ago

Svelte 5 removes a lot of self-closing Tags, and enforces this. Should be an easy fix, I might PR this later.

Using Svelte 5 RC (next-131 at this time).

4:11:50 PM [vite-plugin-svelte] /censored/node_modules/svelte-fast-marquee/dist/Marquee.svelte:76:2 Self-closing HTML tags for non-void elements are ambiguous — use<div ...>

rather than<div ... />``

vyconm commented 1 month ago

10 there you go