mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore(lint): enforce stricter eslint/oxlint rules (#37883)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -64,6 +64,8 @@ export const TextCellRenderer = (params: CellRendererProps) => {
|
||||
);
|
||||
}
|
||||
if (allowRenderHtml && isProbablyHTML(value)) {
|
||||
// Safe: HTML is sanitized before rendering
|
||||
// eslint-disable-next-line react/no-danger
|
||||
return <div dangerouslySetInnerHTML={{ __html: sanitizeHtml(value) }} />;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user