themesberg / flowbite-svelte

Official Svelte components built for Flowbite and Tailwind CSS
https://flowbite-svelte.com
MIT License
2.13k stars 264 forks source link

No warning for use of @html tag in Components #1282

Open JannisKoeksel opened 6 months ago

JannisKoeksel commented 6 months ago

Describe the bug

Some components use the @html tag (e.g. Timeline Activity) without proper warning.

Reproduction

Not needed

Flowbite version and System Info

latest
shinokada commented 6 months ago

What kind of warnings are you expecting?

JannisKoeksel commented 6 months ago

A notice in the docs would be useful. In general, having the HTML render as an opt-in instead of it being the default is in my opinion a better approach. Not sure how you would handle backwards compatibility in that case.

To preserve backwards compatibility: