tdclemens opened a new issue, #34191: URL: https://github.com/apache/superset/issues/34191
## Screenshot (screenshots are from a 5.0.0 production build) Screenshot of the problem: CSS Class is blank for ul and li elements: <img width="1534" height="867" alt="Image" src="https://github.com/user-attachments/assets/0371db53-90a8-48a5-b1f9-3e32e41bd326" /> Screenshot of CSS Class being applied for div and span elements: <img width="1537" height="865" alt="Image" src="https://github.com/user-attachments/assets/6bdceef7-f407-4fc2-abdf-6cee4f0d2db8" /> ## Description When building a handlebar chart, the default content is an un ordered list with list items styled with a CSS class. For some reason, the classes are not applied only to list items, whereas they are working with other HTML elements. snapshot of relevant superset config settings pasted here: ``` HTML_SANITIZATION = True HTML_SANITIZATION_SCHEMA_EXTENSIONS = { "attributes": { "*": ["style", "className", "class"], }, "tagNames": ["style", "ul", "ol", "li"], } TALISMAN_ENABLED = False TALISMAN_CONFIG = { "content_security_policy": { "default-src": ["'self'", "'unsafe-inline'", "'unsafe-eval'"] } } FEATURE_FLAGS = { "EMBEDDED_SUPERSET": True, "DRILL_TO_DETAIL": True, "ALLOW_ADHOC_SUBQUERY": True, "DASHBOARD_VIRTUALIZATION": False, "GLOBAL_ASYNC_QUERIES": True, "DASHBOARD_RBAC": True, "GUEST_TOKEN": True, "THUMBNAILS": True, "PLAYWRIGHT_REPORTS_AND_THUMBNAILS": True, "THUMBNAILS_SQLA_LISTENERS": True, "ENABLE_DASHBOARD_SCREENSHOT_ENDPOINTS": True, "ENABLE_DASHBOARD_DOWNLOAD_WEBDRIVER_SCREENSHOT": True, "LISTVIEWS_DEFAULT_CARD_VIEW": True, } ``` I have tried making several adjustments to these config settings locally with no effect. Im concerned there may be something that changed with a dependency or recent update to superset since 4.0.2 that may be the cause, since we are on 5.0.0. There is a related issue where this seems to be unresolved and the author seemed to rely on 4.0.2 instead of master: apache/superset/issues#30381 -- 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]
