mirror of https://github.com/sveltejs/svelte
also escape back-ticks and backslashes in text nodes in SSR code (#616)
parent
f016a84d45
commit
05a7a262c3
@ -0,0 +1,3 @@
|
|||||||
|
export default {
|
||||||
|
html: '<code>`${foo}\\n`</code>'
|
||||||
|
};
|
@ -0,0 +1 @@
|
|||||||
|
<code>`${foo}\n`</code>
|
Loading…
Reference in new issue