dosubot[bot] commented on issue #35911: URL: https://github.com/apache/superset/issues/35911#issuecomment-3468858908
<!-- Answer --> This is a known regression in Superset 5.0.0 and master: tooltip formatting (including bold highlighting) was broken by a new frontend XSS filter that strips inline styles and whitespace from tooltip HTML. This filter was introduced in [PR #33765](https://github.com/apache/superset/pull/33765), which caused tooltips to lose formatting like bold text and spacing between values. The issue is tracked in [#33865](https://github.com/apache/superset/issues/33865) and [#34198](https://github.com/apache/superset/issues/34198). A fix has already been merged ([PR #34018](https://github.com/apache/superset/pull/34018)) and will be included in the next release after 5.0.0 (such as 5.0.1 or later). Until then, you can use a temporary workaround by adding custom CSS to your dashboard, for example: ```css table * { padding: 5px; } ``` If you need the bold styling restored immediately, you would need to patch the frontend XSS filter locally to allow the `style` attribute on table elements, but this comes with XSS risk and should be tested carefully. Going forward, the recommended approach is to use CSS classes for tooltip styling instead of inline styles for better security and maintainability. You can track the fix and upgrade to the next release when available to restore proper tooltip formatting and highlighting. <!-- 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/429bd211-79db-4f1c-b153-ca4b196c1ff4?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/429bd211-79db-4f1c-b153-ca4b196c1ff4?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/429bd211-79db-4f1c-b153-ca4b196c1ff4?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/429bd211-79db-4f1c-b153-ca4b196c1ff4?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/429bd211-79db-4f1c-b153-ca4b196c1ff4?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/429bd211-79db-4f1c-b153-ca4b196c1ff4?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/429bd211-79db-4f1c-b153-ca4b196c1ff4?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/35911) -- 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]
