dosubot[bot] commented on issue #35928: URL: https://github.com/apache/superset/issues/35928#issuecomment-3473093565
<!-- Greeting --> Hi @ponychicken! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the superset team. <!-- Answer --> This is a known regression in Superset, caused by a frontend XSS filter that stripped whitespace and styles from tooltip HTML, leading to concatenated text like `count50.4%`. The issue affects multiple chart types and is tracked in several issues ([#33865](https://github.com/apache/superset/issues/33865), [#33913](https://github.com/apache/superset/issues/33913), [#34030](https://github.com/apache/superset/issues/34030), [#34198](https://github.com/apache/superset/issues/34198), [#35120](https://github.com/apache/superset/issues/35120), [#35719](https://github.com/apache/superset/issues/35719)). A fix was merged in [PR #34018](https://github.com/apache/superset/pull/34018) and is present on the master branch, restoring proper tooltip formatting and spacing by updating the XSS filter to allow style attributes on table elements and preserving whitespace [ref](https://github.com/apache/superset/issues/34198). If you are still seeing this issue on master, try a hard refresh or clear your frontend build cache. For older versions, a temporary workaround is to add custom CSS like `table * { padding: 5px; }` to your dashboard, or to customize the tooltip formatter in the relevant chart's `transformProps.ts` file to add explicit spaces or punctuation between values [ref](https://github.com/apache/superset/issues/33913). You can track progress and technical details in the linked issues and PR. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/c28901da-d733-49e5-8cc4-4849009f7ab9?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/c28901da-d733-49e5-8cc4-4849009f7ab9?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/c28901da-d733-49e5-8cc4-4849009f7ab9?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/c28901da-d733-49e5-8cc4-4849009f7ab9?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/c28901da-d733-49e5-8cc4-4849009f7ab9?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/c28901da-d733-49e5-8cc4-4849009f7ab9?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/c28901da-d733-49e5-8cc4-4849009f7ab9?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/35928) -- 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]
