mirror of https://github.com/sveltejs/svelte
* rename previous test * add new <textarea bind:value> test * escape value in <textarea bind:value> --------- Co-authored-by: Conduitry <git@chor.date>version-3
parent
3bc791bcba
commit
a31dec5eb3
@ -0,0 +1,5 @@
|
||||
<script>
|
||||
let value = `test'"></textarea><script>alert('BIM');</` + `script>`;
|
||||
</script>
|
||||
|
||||
<textarea bind:value />
|
@ -0,0 +1,4 @@
|
||||
export default {
|
||||
html: '<textarea></textarea>',
|
||||
ssrHtml: '<textarea>test\'"></textarea><script>alert(\'BIM\');</script></textarea>'
|
||||
};
|
Loading…
Reference in new issue