julianpark90 opened a new issue, #33865:
URL: https://github.com/apache/superset/issues/33865

   ### Bug description
   
   After upgrading from 5.0.0rc3 to 5.0.0rc4, I noticed that all custom 
styles—including inline styles and whitespace between numbers—are missing from 
tooltips. This appears to be a side effect of the new XSS filter implementation 
([PR #33765](https://github.com/apache/superset/pull/33765)).
   
   **Steps to reproduce:**
   
   Upgrade Superset from 5.0.0rc3 to 5.0.0rc4
   
   Hover over any chart to display the tooltip
   
   Observe that all inline styles (such as padding and alignment) and 
whitespace between values are missing
   
   
   **Expected behavior:**
   
   Tooltip should retain all intended styles and spacing as in previous versions
   
   
   **Actual behavior:**
   
   Tooltip loses all custom styles and whitespace, making the content hard to 
read
   
   
   **Possible cause:**
   
   The new XSS filter may be stripping style attributes and collapsing/removing 
whitespace or delimiters between tooltip values.
   
   
   **Question:**
   
   What is the recommended way to restore tooltip formatting and spacing under 
the new XSS filter rules?
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [ ] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [ ] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [ ] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
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]

Reply via email to