Skip to content

Commit

Permalink
add test to ensure only <, > and & are escaped
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Jan 9, 2018
1 parent fbb856e commit f6e6cb6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export default {
html: `
<div>'foo'<span/></div>
`
};
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<div>'foo'<span/></div>

0 comments on commit f6e6cb6

Please sign in to comment.