From 49dcfabc92c1b761a9824b28b61fc635066fd20e Mon Sep 17 00:00:00 2001 From: reyryan Date: Thu, 17 Jul 2025 23:11:03 +0800 Subject: [PATCH] fix(tooltip): Tooltip styles and whitespace missing - https://github.com/apache/superset/issues/33865 --- superset-frontend/packages/superset-ui-core/src/utils/html.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/superset-frontend/packages/superset-ui-core/src/utils/html.tsx b/superset-frontend/packages/superset-ui-core/src/utils/html.tsx index 9213fef07f86..4447d1e4aa23 100644 --- a/superset-frontend/packages/superset-ui-core/src/utils/html.tsx +++ b/superset-frontend/packages/superset-ui-core/src/utils/html.tsx @@ -25,6 +25,8 @@ const xssFilter = new FilterXSS({ div: ['style', 'class'], a: ['style', 'class', 'href', 'title', 'target'], img: ['style', 'class', 'src', 'alt', 'title', 'width', 'height'], + tr: ['style', 'class'], + td: ['style', 'class'], video: [ 'autoplay', 'controls',