-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed as not planned
Description
Describe the bug
If a snippet (created with createRawSnippet()) contains <script> markup, the script doesn't actually execute when @rendered.
Reproduction
https://stackblitz.com/edit/vitejs-vite-eckyyqy7?file=src%2FApp.svelte,src%2Fmain.js&terminal=dev
Logs
System Info
System:
OS: Linux 5.15 Ubuntu 20.04.3 LTS (Focal Fossa)
CPU: (8) x64 Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
Memory: 7.74 GB / 11.69 GB
Container: Yes
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 22.12.0 - /run/user/1000/fnm_multishells/798_1737054649737/bin/node
Yarn: 1.22.22 - /run/user/1000/fnm_multishells/798_1737054649737/bin/yarn
npm: 10.9.0 - /run/user/1000/fnm_multishells/798_1737054649737/bin/npm
pnpm: 10.0.0 - ~/.local/share/pnpm/pnpm
npmPackages:
svelte: ^5.0.0 => 5.16.1Severity
annoyance
Metadata
Metadata
Assignees
Labels
No labels