Describe the bug
Given the following Svelte component
<main>
<pre><code>{text}</code></pre>
</main>
<style>
pre {
color: green;
}
</style>
<script lang="ts">
let text = $state(`<style>Style3</style>`)
</script>
The *{} text (from compile.js#L67) is incorrectly injected into the app.
Reproduction URL
https://stackblitz.com/edit/vitejs-vite-o39yk1ja
Reproduction
No response
Logs
System Info