From ef0ede7c13c7352e8b8ca4c5ba1cf73f622a36c4 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 3e9c9db5c..7d0df189a 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 ( diff --git a/superset-frontend/src/SqlLab/components/SqlEditor/index.tsx b/superset-frontend/src/SqlLab/components/SqlEditor/index.tsx index e5b24b72a..731053ac0 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('');