Skip to content

Commit 1eff28d

Browse files
committed
fix: unit tests
1 parent d35c1ff commit 1eff28d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/shared/utils/markdown.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const safeHtmlTags = [
8383
'address', 'article', 'aside', 'footer', 'header', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'main', 'nav', 'section',
8484

8585
// Text Content
86-
'blockquote', 'dd', 'div', 'dl', 'dt', 'figcaption', 'figure', 'hr', 'li', 'ol', 'p', 'pre', 'ul',
86+
'blockquote', 'dd', 'div', 'dl', 'dt', 'figcaption', 'figure', 'hr', 'li', 'ol', 'p', 'pre', 'ul', 'big', 'tt', 'del', 'strike', 'ins',
8787

8888
// Inline Text Semantics
8989
'a', 'abbr', 'b', 'bdi', 'bdo', 'br', 'cite', 'code', 'data', 'dfn', 'em', 'i', 'kbd', 'mark', 'q', 'rp', 'rt',
@@ -101,6 +101,9 @@ const safeHtmlTags = [
101101

102102
// Scripting and No-Scripting
103103
'noscript',
104+
105+
// Custom tags
106+
'ThemedButton',
104107
];
105108

106109
/**

0 commit comments

Comments
 (0)