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';
173173
174174const [reactContent, setMarkdownSource] = useRemark ({
175175 remarkPlugins: [remarkGemoji ],
176- remarkToRehypeOptions: { allowDangerous : true },
176+ remarkToRehypeOptions: { allowDangerousHtml : true },
177177 rehypePlugins: [rehypeSlug , rehypeAutoLinkHeadings ],
178178 rehypeReactOptions: {
179179 components: {
@@ -196,7 +196,7 @@ import rehypeAutoLinkHeadings from 'rehype-autolink-headings';
196196
197197<Remark
198198 remarkPlugins = { [remarkGemoji ]}
199- remarkToRehypeOptions = { { allowDangerous : true }}
199+ remarkToRehypeOptions = { { allowDangerousHtml : true }}
200200 rehypePlugins = { [rehypeSlug , rehypeAutoLinkHeadings ]}
201201 rehypeReactOptions = { {
202202 components: {
You can’t perform that action at this time.
0 commit comments