mirror of
https://github.com/apache/superset.git
synced 2026-06-09 09:39:25 +00:00
chore(plugin-chart-table): add muted attribute of video tag to whitelist (#1051)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user