From c995d7218d3892784bfbcf4a7aca333ee3782677 Mon Sep 17 00:00:00 2001 From: Joe Li Date: Wed, 9 Oct 2024 14:08:49 -0700 Subject: [PATCH 1/2] fix: update html rendering to true from false --- superset-frontend/src/SqlLab/components/SqlEditor/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(''); From d57d483e9343452198d079f8d0dbd3d5332aa2cc Mon Sep 17 00:00:00 2001 From: Joe Li Date: Wed, 9 Oct 2024 14:53:34 -0700 Subject: [PATCH 2/2] default one more spot to true --- superset-frontend/src/SqlLab/components/ResultSet/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset-frontend/src/SqlLab/components/ResultSet/index.tsx b/superset-frontend/src/SqlLab/components/ResultSet/index.tsx index 3e9c9db5c6d48..7d0df189a2f21 100644 --- a/superset-frontend/src/SqlLab/components/ResultSet/index.tsx +++ b/superset-frontend/src/SqlLab/components/ResultSet/index.tsx @@ -646,7 +646,7 @@ const ResultSet = ({ : []; const allowHTML = getItem( LocalStorageKeys.SqllabIsRenderHtmlEnabled, - false, + true, ); return (