Skip to content

Commit 8de7cb5

Browse files
committed
Hotfix: allow img tag - Fix velopert#69
1 parent dd3db26 commit 8de7cb5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/common/MarkdownRender.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ function filter(html: string) {
118118
'pre',
119119
'iframe',
120120
'span',
121+
'img',
121122
],
122123
allowedAttributes: {
123124
a: ['href', 'name', 'target'],

0 commit comments

Comments
 (0)