Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

feat: allow dangerous html flag (CT-000)#88

Merged
DecathectZero merged 4 commits intomasterfrom
tyler/allow-dangerous-html/CT-000
Nov 25, 2023
Merged

feat: allow dangerous html flag (CT-000)#88
DecathectZero merged 4 commits intomasterfrom
tyler/allow-dangerous-html/CT-000

Conversation

@DecathectZero
Copy link
Member

No description provided.

MarkdownText.defaultProps = {
rehypePlugins: [rehypeRaw],
remarkPlugins: [remarkGfm],
linkTarget: '_blank',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is no longer supported:
remarkjs/react-markdown#761

});

MarkdownText.defaultProps = {
rehypePlugins: [rehypeRaw],
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rehypeRaw is the dangerous one - this is now gone by default.

@DecathectZero DecathectZero force-pushed the tyler/allow-dangerous-html/CT-000 branch from 5ae3bc7 to 26f9994 Compare November 25, 2023 17:01
@DecathectZero DecathectZero merged commit 2363764 into master Nov 25, 2023
@DecathectZero DecathectZero deleted the tyler/allow-dangerous-html/CT-000 branch November 25, 2023 17:02
ChidiNweze pushed a commit to ChidiNweze/react-chat that referenced this pull request Jan 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant