Skip to content

Commit

Permalink
chore: move table types to known ones
Browse files Browse the repository at this point in the history
  • Loading branch information
isekovanic committed Dec 3, 2024
1 parent 4479ef2 commit 8377f27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Message/renderText/renderText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@ export const defaultAllowedTagNames: Array<keyof JSX.IntrinsicElements | 'emoji'
'pre',
'blockquote',
'del',
// custom types (tagNames)
'emoji',
'mention',
'table',
'thead',
'tbody',
'th',
'tr',
'td',
'tfoot',
// custom types (tagNames)
'emoji',
'mention',
];

function formatUrlForDisplay(url: string) {
Expand Down

0 comments on commit 8377f27

Please sign in to comment.