add a xss test case

pull/7738/head
Tan Li Hau 6 years ago
parent 948527a609
commit 55b7fd210d

@ -0,0 +1,3 @@
export default {
html: `<p>&lt;b\nstyle='color:\nred;'&gt;RED?!?&lt;/b&gt;</p>`,
};

@ -0,0 +1,5 @@
<script>
const content = `<b style='color: red;'>RED?!?</b>`
</script>
<p>{content}</p>
Loading…
Cancel
Save