Skip to content

Commit

Permalink
Markdown: Ignore HTML in markdown (only allow explicit markdown)
Browse files Browse the repository at this point in the history
Change-type: major
  • Loading branch information
myarmolinsky committed Nov 21, 2024
1 parent 5c4e857 commit 9d1efe4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Markdown/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ export const Markdown = ({ components, ...props }: ReactMarkdownOptions) => {
components={comps}
allowedElements={Object.keys(comps)}
unwrapDisallowed
skipHtml
{...props}
/>
);
Expand Down

0 comments on commit 9d1efe4

Please sign in to comment.