chat: disallow markdown links

This commit is contained in:
Matilde Park 2021-01-22 16:56:28 -05:00
parent b150e4b1e6
commit 06fab93349

View File

@ -55,7 +55,7 @@ const MessageMarkdown = React.memo(props => (
renderers={renderers}
// shim until we uncover why RemarkBreaks and
// RemarkDisableTokenizers can't be loaded simultaneously
disallowedTypes={['heading', 'list', 'listItem']}
disallowedTypes={['heading', 'list', 'listItem', 'link']}
allowNode={(node, index, parent) => {
if (
node.type === 'blockquote'