forked from AkkomaGang/akkoma-fe
fix rich content not rendering stillimage nor links correctly
This commit is contained in:
parent
0671aa0dd0
commit
4993dc37e2
1 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ export default {
|
|||
|
||||
const renderImage = (tag) => {
|
||||
return <StillImage
|
||||
{...{ attrs: getAttrs(tag) }}
|
||||
{...getAttrs(tag)}
|
||||
class="img"
|
||||
/>
|
||||
}
|
||||
|
@ -222,7 +222,7 @@ export default {
|
|||
attrs.target = '_blank'
|
||||
const newChildren = [...children].reverse().map(processItemReverse).reverse()
|
||||
|
||||
return <a {...{ attrs }}>
|
||||
return <a {...attrs}>
|
||||
{ newChildren }
|
||||
</a>
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue