feat: Add <strike> to default whitelist
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
- [Add `<summary>` to default whitelist #216](https://github.com/leizongmin/js-xss/pull/216) by @spacegaier
|
||||
- [Add `<figure>` and `<figcaption>` to default whitelist](https://github.com/leizongmin/js-xss/pull/220) by @daraz999
|
||||
- Add `<audio crossorigin muted>`, `<video crossorigin muted playsinline poster>` to default whitelist
|
||||
- Add `<strike>` to default whitelist
|
||||
|
||||
## v1.0.8 (2020-07-27)
|
||||
|
||||
|
||||
1
dist/xss.js
vendored
1
dist/xss.js
vendored
@@ -74,6 +74,7 @@ function getDefaultWhiteList() {
|
||||
summary: [],
|
||||
sup: [],
|
||||
strong: [],
|
||||
strike: [],
|
||||
table: ["width", "border", "align", "valign"],
|
||||
tbody: ["align", "valign"],
|
||||
td: ["width", "rowspan", "colspan", "align", "valign"],
|
||||
|
||||
2
dist/xss.min.js
vendored
2
dist/xss.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -73,6 +73,7 @@ function getDefaultWhiteList() {
|
||||
summary: [],
|
||||
sup: [],
|
||||
strong: [],
|
||||
strike: [],
|
||||
table: ["width", "border", "align", "valign"],
|
||||
tbody: ["align", "valign"],
|
||||
td: ["width", "rowspan", "colspan", "align", "valign"],
|
||||
|
||||
Reference in New Issue
Block a user