Fix mentions for messages with ASCII art characters
This commit is contained in:
parent
8e4de33d71
commit
015d789c90
2 changed files with 24 additions and 19 deletions
|
@ -332,7 +332,7 @@ export class Linkify extends React.Component<Props> {
|
|||
const { text, renderNonLink = defaultRenderNonLink } = this.props;
|
||||
|
||||
if (!shouldLinkifyMessage(text)) {
|
||||
return text;
|
||||
return renderNonLink({ text, key: 1 });
|
||||
}
|
||||
|
||||
const chunkData: Array<{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue