Skip to content

Commit

Permalink
chore(plugin-chart-table): add muted attribute of video tag to whitel…
Browse files Browse the repository at this point in the history
…ist (#1051)
  • Loading branch information
maltoze authored and zhaoyongjie committed Nov 26, 2021
1 parent cca4b74 commit d1d1adf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const xss = new FilterXSS({
div: ['style', 'class'],
a: ['style', 'class', 'href', 'title', 'target'],
img: ['style', 'class', 'src', 'alt', 'title', 'width', 'height'],
video: ['autoplay', 'controls', 'loop', 'preload', 'src', 'height', 'width', 'muted'],
},
stripIgnoreTag: true,
css: false,
Expand Down

0 comments on commit d1d1adf

Please sign in to comment.