fix(pivot-table): apply safeHtmlSpan for cells in the pivot table chart#33452
fix(pivot-table): apply safeHtmlSpan for cells in the pivot table chart#33452richardfogaca wants to merge 1 commit intoapache:masterfrom
Conversation
There was a problem hiding this comment.
I've completed my review and didn't find any issues.
Files scanned
| File Path | Reviewed |
|---|---|
| superset-frontend/plugins/plugin-chart-pivot-table/src/react-pivottable/TableRenderers.jsx | ✅ |
Explore our documentation to understand the languages and file types we support and the files we ignore.
Check out our docs on how you can make Korbit work best for you and your team.
|
So I'm a little confused here. I see you have the "Render Columns in HTML" checkbox checked, and it looks like the cells ARE rendering HTML... but it's just not rendering certain tags (e.g. |
@rusackas Actually the cells do not render html properly, with the exception of |
|
This has conflicts, and I think there was a recent PR that tackled the same topic and got merged. Converting to draft for now, but maybe this isn't needed any more? |
|
Yeah, i think i fixed this with this . It looks identical to this one. We had a bit of duplicate work so sorry about that! |
SUMMARY
The Pivot Table chart was not rendering HTML content within its cells. Instead of displaying formatted HTML (e.g., hyperlinks), it showed the raw HTML tags as plain text. This occurred even when the underlying data contained valid HTML strings and the allowRenderHtml prop was set to true.
BEFORE SCREENSHOT
AFTER SCREENSHOT
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION