diff --git a/test/runtime/samples/unchanged-expression-xss/_config.js b/test/runtime/samples/unchanged-expression-xss/_config.js new file mode 100644 index 0000000000..fa5453dbf3 --- /dev/null +++ b/test/runtime/samples/unchanged-expression-xss/_config.js @@ -0,0 +1,3 @@ +export default { + html: `

<b\nstyle='color:\nred;'>RED?!?</b>

`, +}; diff --git a/test/runtime/samples/unchanged-expression-xss/main.svelte b/test/runtime/samples/unchanged-expression-xss/main.svelte new file mode 100644 index 0000000000..c2003d07ae --- /dev/null +++ b/test/runtime/samples/unchanged-expression-xss/main.svelte @@ -0,0 +1,5 @@ + + +

{content}

\ No newline at end of file