goldjee commented on issue #30381:
URL: https://github.com/apache/superset/issues/30381#issuecomment-2372575367

   @dosu
   I've included `class` to allowed attribute list and restarted Superset. 
Updated config looks like this:
   ```Python
   HTML_SANITIZATION = True
   HTML_SANITIZATION_SCHEMA_EXTENSIONS = {
       "attributes": {
       "*": ["style","className","class"],
       },
       "tagNames": ["style"],
   }
   ```
   The `class` attribute in the output HTML is still empty.


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