From 8c329c445f412ad014f64de21e1e09ae3f1ba3db Mon Sep 17 00:00:00 2001 From: Joe Li Date: Thu, 10 Oct 2024 10:19:26 -0700 Subject: [PATCH] fix: update html rendering to true from false (#30565) --- superset-frontend/src/SqlLab/components/ResultSet/index.tsx | 2 +- superset-frontend/src/SqlLab/components/SqlEditor/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/superset-frontend/src/SqlLab/components/ResultSet/index.tsx b/superset-frontend/src/SqlLab/components/ResultSet/index.tsx index 067a2c3b0958e..470a05cd05551 100644 --- a/superset-frontend/src/SqlLab/components/ResultSet/index.tsx +++ b/superset-frontend/src/SqlLab/components/ResultSet/index.tsx @@ -630,7 +630,7 @@ const ResultSet = ({ : []; const allowHTML = getItem( LocalStorageKeys.SqllabIsRenderHtmlEnabled, - false, + true, ); return ( diff --git a/superset-frontend/src/SqlLab/components/SqlEditor/index.tsx b/superset-frontend/src/SqlLab/components/SqlEditor/index.tsx index e5b24b72ad473..731053ac0b0b0 100644 --- a/superset-frontend/src/SqlLab/components/SqlEditor/index.tsx +++ b/superset-frontend/src/SqlLab/components/SqlEditor/index.tsx @@ -308,7 +308,7 @@ const SqlEditor: FC = ({ getItem(LocalStorageKeys.SqllabIsAutocompleteEnabled, true), ); const [renderHTMLEnabled, setRenderHTMLEnabled] = useState( - getItem(LocalStorageKeys.SqllabIsRenderHtmlEnabled, false), + getItem(LocalStorageKeys.SqllabIsRenderHtmlEnabled, true), ); const [showCreateAsModal, setShowCreateAsModal] = useState(false); const [createAs, setCreateAs] = useState('');