1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

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[]) {
const plaintext = contentState.getPlainText();
console.info('Removing MD', plaintext);
if (!plaintext) return '';
return plaintext.replace(REGEX_MATRIXTO_MARKDOWN_GLOBAL,
(markdownLink, text, resource, prefix, offset) => {