Skip to content

Commit f6e6cb6

Browse files
committed
add test to ensure only <, > and & are escaped
1 parent fbb856e commit f6e6cb6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export default {
2+
html: `
3+
<div>'foo'<span/></div>
4+
`
5+
};
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<div>'foo'<span/></div>

0 commit comments

Comments
 (0)