File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ import rehypeAutoLinkHeadings from 'rehype-autolink-headings';
173
173
174
174
const [reactContent, setMarkdownSource] = useRemark ({
175
175
remarkPlugins: [remarkGemoji ],
176
- remarkToRehypeOptions: { allowDangerous : true },
176
+ remarkToRehypeOptions: { allowDangerousHtml : true },
177
177
rehypePlugins: [rehypeSlug , rehypeAutoLinkHeadings ],
178
178
rehypeReactOptions: {
179
179
components: {
@@ -196,7 +196,7 @@ import rehypeAutoLinkHeadings from 'rehype-autolink-headings';
196
196
197
197
<Remark
198
198
remarkPlugins = { [remarkGemoji ]}
199
- remarkToRehypeOptions = { { allowDangerous : true }}
199
+ remarkToRehypeOptions = { { allowDangerousHtml : true }}
200
200
rehypePlugins = { [rehypeSlug , rehypeAutoLinkHeadings ]}
201
201
rehypeReactOptions = { {
202
202
components: {
You can’t perform that action at this time.
0 commit comments