Skip to content

Commit 1996d30

Browse files
committed
fix: apply filter to onConvertFinish
1 parent fe603fa commit 1996d30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/common/MarkdownRender.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ const MarkdownRender: React.FC<MarkdownRenderProps> = ({
256256
const html = String(file);
257257

258258
if (onConvertFinish) {
259-
onConvertFinish(html);
259+
onConvertFinish(filter(html));
260260
}
261261
// load twitter script if needed
262262
if (html.indexOf('class="twitter-tweet"') !== -1) {

0 commit comments

Comments
 (0)