Skip to content

Commit 8377f27

Browse files
committed
chore: move table types to known ones
1 parent 4479ef2 commit 8377f27

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/Message/renderText/renderText.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ export const defaultAllowedTagNames: Array<keyof JSX.IntrinsicElements | 'emoji'
3232
'pre',
3333
'blockquote',
3434
'del',
35-
// custom types (tagNames)
36-
'emoji',
37-
'mention',
3835
'table',
3936
'thead',
4037
'tbody',
4138
'th',
4239
'tr',
4340
'td',
4441
'tfoot',
42+
// custom types (tagNames)
43+
'emoji',
44+
'mention',
4545
];
4646

4747
function formatUrlForDisplay(url: string) {

0 commit comments

Comments
 (0)