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