Question · Svelte and SvelteKit course · Module 6: Template Logic
The Risk of {@html}
Why is {@html} dangerous?
Answer options
- It slows down rendering
- It can lead to XSS attacks if used with untrusted data
- It doesn't work in production
- It's deprecated
You can check the correct answer by solving this task in the CodeWorlds game.