Skip to content

Commit

Permalink
fix: not allow svg
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun committed Nov 23, 2024
1 parent 9a327dc commit f74647f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/web/src/components/Markdown/render.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export const Markdown: React.FC<{
preview={true}
/>
),
svg: () => <div>not support svg</div>,
iframe: (props) => {
let src = props.src;

Expand Down

0 comments on commit f74647f

Please sign in to comment.