diff --git a/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-demo/storybook/stories/plugins/plugin-chart-table/birthNames.json b/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-demo/storybook/stories/plugins/plugin-chart-table/birthNames.json index 93fe651955097..7cc753f5e6003 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-demo/storybook/stories/plugins/plugin-chart-table/birthNames.json +++ b/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-demo/storybook/stories/plugins/plugin-chart-table/birthNames.json @@ -512,7 +512,7 @@ "__timestamp": "1968-01-01T00:00:00", "state": "other", "gender": "boy", - "name": "Michael", + "name": "Michael", "total": -35253, "boys": 35253, "SUM(num_california)": 0, diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-table/src/utils/formatValue.ts b/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-table/src/utils/formatValue.ts index 417eb77626b11..78512d2c3f025 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-table/src/utils/formatValue.ts +++ b/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-table/src/utils/formatValue.ts @@ -23,10 +23,10 @@ import { DataColumnMeta } from '../types'; const xss = new FilterXSS({ whiteList: { ...getDefaultWhiteList(), - span: ['style', 'title'], - div: ['style'], - a: ['style'], - img: ['style', 'src', 'alt', 'title', 'width', 'height'], + span: ['style', 'class', 'title'], + div: ['style', 'class'], + a: ['style', 'class', 'href', 'title', 'target'], + img: ['style', 'class', 'src', 'alt', 'title', 'width', 'height'], }, stripIgnoreTag: true, css: false,