0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00
svelte/.changeset/moody-carrots-lay.md
Simon H 08978bfae8
fix: don't execute scripts inside @html when instantiated on the client (#10556)
In Svelte 4, scripts inside `@html` were not executed when it was created client-side. This is because `innerHTML = ..` which was used under the hood does not execute scripts due to security reasons. This adjusts the code so the same is true for Svelte 5.
2024-02-20 13:32:51 +01:00

99 B

svelte
patch

fix: don't execute scripts inside @html when instantiated on the client