-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add test to ensure only <, > and & are escaped
- Loading branch information
1 parent
fbb856e
commit f6e6cb6
Showing
2 changed files
with
6 additions
and
0 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
test/runtime/samples/html-non-entities-inside-elements/_config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export default { | ||
html: ` | ||
<div>'foo'<span/></div> | ||
` | ||
}; |
1 change: 1 addition & 0 deletions
1
test/runtime/samples/html-non-entities-inside-elements/main.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<div>'foo'<span/></div> |