Skip to content

Commit 78a1921

Browse files
authored
Merge pull request velopert#109 from velopert/fix/allow-del-tag
Allow del tag in sanitize-html
2 parents f8f194d + 17768b7 commit 78a1921

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
@@ -119,6 +119,7 @@ function filter(html: string) {
119119
'iframe',
120120
'span',
121121
'img',
122+
'del',
122123
],
123124
allowedAttributes: {
124125
a: ['href', 'name', 'target'],

0 commit comments

Comments
 (0)