diff --git a/.changeset/gentle-spies-cover.md b/.changeset/gentle-spies-cover.md new file mode 100644 index 000000000000..d793211734dc --- /dev/null +++ b/.changeset/gentle-spies-cover.md @@ -0,0 +1,5 @@ +--- +'svelte': patch +--- + +fix: handle spreads within static strings diff --git a/packages/svelte/src/compiler/compile/render_dom/wrappers/Element/index.js b/packages/svelte/src/compiler/compile/render_dom/wrappers/Element/index.js index 9c54884807ee..134a51a1a27b 100644 --- a/packages/svelte/src/compiler/compile/render_dom/wrappers/Element/index.js +++ b/packages/svelte/src/compiler/compile/render_dom/wrappers/Element/index.js @@ -1312,9 +1312,19 @@ function to_html(wrappers, block, literal, state, can_use_raw_text) { // The value attribute of