fix: update html rendering to true from false (#30565)

This commit is contained in:
Joe Li 2024-10-10 10:19:26 -07:00 committed by GitHub
parent 62b94d5abf
commit ef0ede7c13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -646,7 +646,7 @@ const ResultSet = ({
: [];
const allowHTML = getItem(
LocalStorageKeys.SqllabIsRenderHtmlEnabled,
false,
true,
);
return (
<ResultContainer>

View File

@ -308,7 +308,7 @@ const SqlEditor: FC<Props> = ({
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('');