mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2024-11-08 09:29:10 +00:00
Merge pull request 'fix search rendering' (#25) from mfm-search into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/25
This commit is contained in:
commit
101f15a078
1 changed files with 7 additions and 0 deletions
|
@ -265,6 +265,13 @@ export default defineComponent({
|
||||||
})]
|
})]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case 'search': {
|
||||||
|
return [h('a', {
|
||||||
|
href: `https://www.google.com/search?q=${token.props.query}`
|
||||||
|
}, token.props.content)
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
default: {
|
default: {
|
||||||
console.error('unrecognized ast type:', token.type)
|
console.error('unrecognized ast type:', token.type)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue