feat: Add <audio crossorigin muted>, <video crossorigin muted playsinline poster> to default whitelist
This commit is contained in:
@@ -16,7 +16,15 @@ function getDefaultWhiteList() {
|
||||
area: ["shape", "coords", "href", "alt"],
|
||||
article: [],
|
||||
aside: [],
|
||||
audio: ["autoplay", "controls", "loop", "preload", "src"],
|
||||
audio: [
|
||||
"autoplay",
|
||||
"controls",
|
||||
"crossorigin",
|
||||
"loop",
|
||||
"muted",
|
||||
"preload",
|
||||
"src",
|
||||
],
|
||||
b: [],
|
||||
bdi: ["dir"],
|
||||
bdo: ["dir"],
|
||||
@@ -78,7 +86,11 @@ function getDefaultWhiteList() {
|
||||
video: [
|
||||
"autoplay",
|
||||
"controls",
|
||||
"crossorigin",
|
||||
"loop",
|
||||
"muted",
|
||||
"playsinline",
|
||||
"poster",
|
||||
"preload",
|
||||
"src",
|
||||
"height",
|
||||
|
||||
Reference in New Issue
Block a user