forked from AkkomaGang/akkoma-fe
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:
commit
06343addef
1 changed files with 3 additions and 4 deletions
|
@ -210,11 +210,10 @@ export default defineComponent({
|
||||||
}
|
}
|
||||||
|
|
||||||
case 'inlineCode': {
|
case 'inlineCode': {
|
||||||
return [h('pre', {
|
return [h('code', {
|
||||||
key: Math.random(),
|
key: Math.random(),
|
||||||
code: token.props.code,
|
display: 'inline'
|
||||||
inline: true
|
}, token.props.code)]
|
||||||
})]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
case 'quote': {
|
case 'quote': {
|
||||||
|
|
Loading…
Reference in a new issue