mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
Remove subjective comment
This commit is contained in:
parent
e315b30f6a
commit
397201a74d
@ -732,7 +732,6 @@ export default class MessageComposerInput extends React.Component {
|
||||
}
|
||||
|
||||
// Strip MD user mentions to preserve plaintext mention behaviour
|
||||
// (MD links are very verbose and ugly)
|
||||
contentText = contentText.replace(REGEX_MATRIXTO_MARKDOWN_GLOBAL,
|
||||
(markdownLink, text, resource, prefix) => {
|
||||
return prefix === '@' ? text : markdownLink;
|
||||
|
Loading…
Reference in New Issue
Block a user