You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2023/12/08 14:14:48 UTC
(superset) 09/11: fix: support custom links in markdown (#26211)
This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a commit to branch 3.1
in repository https://gitbox.apache.org/repos/asf/superset.git
commit c2612d8c2668a9a74441ba8135e1d8a1c668848a
Author: Ville Brofeldt <33...@users.noreply.github.com>
AuthorDate: Thu Dec 7 13:51:15 2023 -0800
fix: support custom links in markdown (#26211)
(cherry picked from commit d2adc858cbdf1242d96cf7cc0363e39afba88990)
---
.../packages/superset-ui-core/src/components/SafeMarkdown.tsx | 1 +
1 file changed, 1 insertion(+)
diff --git a/superset-frontend/packages/superset-ui-core/src/components/SafeMarkdown.tsx b/superset-frontend/packages/superset-ui-core/src/components/SafeMarkdown.tsx
index b0826ce2ed..2b36802d4b 100644
--- a/superset-frontend/packages/superset-ui-core/src/components/SafeMarkdown.tsx
+++ b/superset-frontend/packages/superset-ui-core/src/components/SafeMarkdown.tsx
@@ -67,6 +67,7 @@ function SafeMarkdown({
rehypePlugins={rehypePlugins}
remarkPlugins={[remarkGfm]}
skipHtml={false}
+ transformLinkUri={null}
>
{source}
</ReactMarkdown>