Render inline code correctly in MFM #21

Merged
floatingghost merged 1 commit from :mfm-code into develop 2022-06-27 09:33:49 +00:00
Showing only changes of commit eb69fc33f6 - Show all commits

View file

@ -210,11 +210,10 @@ export default defineComponent({
}
case 'inlineCode': {
return [h('pre', {
return [h('code', {
key: Math.random(),
code: token.props.code,
inline: true
})]
display: 'inline'
}, token.props.code)]
}
case 'quote': {