Skip to content

Commit 7e98901

Browse files
authored
Merge pull request velopert#137 from velopert/fix/ssr-code-block
Disable sanitize option of htmlPlugin - close velopert#136
2 parents 655fda8 + e5e3d5e commit 7e98901

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/common/MarkdownRender.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,7 @@ const MarkdownRender: React.FC<MarkdownRenderProps> = ({
191191
remark()
192192
.use(breaks)
193193
.use(prismPlugin)
194-
.use(htmlPlugin, {
195-
sanitize: true,
196-
})
194+
.use(htmlPlugin)
197195
.use(embedPlugin)
198196
.use(slug)
199197
.processSync(markdown)

0 commit comments

Comments
 (0)