mirror of https://github.com/vector-im/riot-web
Remove logs
parent
e71df44fc9
commit
5c7891a25b
|
@ -1003,7 +1003,6 @@ export default class MessageComposerInput extends React.Component {
|
|||
|
||||
removeMDLinks(contentState: ContentState, prefixes: string[]) {
|
||||
const plaintext = contentState.getPlainText();
|
||||
console.info('Removing MD', plaintext);
|
||||
if (!plaintext) return '';
|
||||
return plaintext.replace(REGEX_MATRIXTO_MARKDOWN_GLOBAL,
|
||||
(markdownLink, text, resource, prefix, offset) => {
|
||||
|
|
Loading…
Reference in New Issue