diff --git a/packages/ui/src/components/markdown.tsx b/packages/ui/src/components/markdown.tsx index 7ee73af10f..e12b661dba 100644 --- a/packages/ui/src/components/markdown.tsx +++ b/packages/ui/src/components/markdown.tsx @@ -34,7 +34,7 @@ const config = { FORBID_TAGS: ["style"], FORBID_CONTENTS: ["style", "script"], ADD_TAGS: ["svg", "path"], - ADD_ATTR: ["d", "viewBox", "preserveAspectRatio", "xmlns"], + ADD_ATTR: ["d", "viewBox", "preserveAspectRatio", "xmlns", "target"], } const iconPaths = {