Remove logs

pull/21833/head
Luke Barnard 2017-07-27 15:26:36 +01:00
parent e71df44fc9
commit 5c7891a25b
1 changed files with 0 additions and 1 deletions

View File

@ -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) => {