fix double-nested code blocks & bump md-serializer

This commit is contained in:
Matthew Hodgson 2018-05-26 00:37:21 +01:00
parent 864a33f978
commit ab41212258
2 changed files with 2 additions and 2 deletions

View file

@ -1370,7 +1370,7 @@ export default class MessageComposerInput extends React.Component {
case 'numbered-list':
return <ol {...attributes}>{children}</ol>;
case 'code':
return <pre {...attributes}><code {...attributes}>{children}</code></pre>;
return <pre {...attributes}>{children}</pre>;
case 'link':
return <a {...attributes} href={ node.data.get('href') }>{children}</a>;
case 'pill': {