Merge pull request 'Render inline code correctly in MFM' (#21) from sfr/pleroma-fe:mfm-code into develop

Reviewed-on: AkkomaGang/pleroma-fe#21
This commit is contained in:
floatingghost 2022-06-27 09:33:49 +00:00
commit 06343addef

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': {