mirror of https://github.com/sveltejs/svelte
fix: improve ssr template literal generation (#10127)
parent
cd2263fdab
commit
901cfc9f15
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: improve ssr template literal generation
|
@ -0,0 +1,6 @@
|
||||
import { flushSync } from 'svelte';
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
html: `<div class="123"></div><img src="12 hello, world 13">`
|
||||
});
|
@ -0,0 +1,9 @@
|
||||
<script>
|
||||
let a = 1;
|
||||
let b = 2;
|
||||
let c = 3;
|
||||
</script>
|
||||
|
||||
<div class="{a}{b}{c}" />
|
||||
|
||||
<img src="{a}{b} hello, world {a}{c}" />
|
Loading…
Reference in new issue