forked from AkkomaGang/akkoma-fe
fix hrefs
This commit is contained in:
parent
ecefbac4ec
commit
aecc59cdc8
1 changed files with 6 additions and 0 deletions
|
@ -171,6 +171,12 @@ export default Vue.component('RichContent', {
|
|||
return renderMention(attrs, children)
|
||||
} else {
|
||||
currentMentions = null
|
||||
if (attrs['href']) {
|
||||
attrs['href'] = attrs['href'].replace(/&/g, '&')
|
||||
return <a {...{ attrs }}>
|
||||
{ children }
|
||||
</a>
|
||||
}
|
||||
break
|
||||
}
|
||||
case 'span':
|
||||
|
|
Loading…
Reference in a new issue