Remove logs

This commit is contained in:
Luke Barnard 2017-07-27 15:26:36 +01:00
parent e71df44fc9
commit 5c7891a25b

View file

@ -1003,7 +1003,6 @@ export default class MessageComposerInput extends React.Component {
removeMDLinks(contentState: ContentState, prefixes: string[]) { removeMDLinks(contentState: ContentState, prefixes: string[]) {
const plaintext = contentState.getPlainText(); const plaintext = contentState.getPlainText();
console.info('Removing MD', plaintext);
if (!plaintext) return ''; if (!plaintext) return '';
return plaintext.replace(REGEX_MATRIXTO_MARKDOWN_GLOBAL, return plaintext.replace(REGEX_MATRIXTO_MARKDOWN_GLOBAL,
(markdownLink, text, resource, prefix, offset) => { (markdownLink, text, resource, prefix, offset) => {