sonfire186 commented on issue #35719:
URL: https://github.com/apache/superset/issues/35719#issuecomment-3417914007
Fixed superset/superset-frontend/packages/superset-ui-core/src/utils/html.tsx
```
const xssFilter = new FilterXSS({
whiteList: {
...getDefaultWhiteList(),
span: ['style', 'class', 'title'],
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',
],
table: ['width', 'border', 'align', 'valign', 'style'],
tr: ['rowspan', 'align', 'valign', 'style'],
td: ['width', 'rowspan', 'colspan', 'align', 'valign', 'style'],
th: ['width', 'rowspan', 'colspan', 'align', 'valign', 'style'],
tbody: ['align', 'valign', 'style'],
thead: ['align', 'valign', 'style'],
tfoot: ['align', 'valign', 'style'],
},
stripIgnoreTag: true,
css: false,
});
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]