fix hrefs

This commit is contained in:
FloatingGhost 2022-01-28 18:45:21 +00:00
parent ecefbac4ec
commit aecc59cdc8

View file

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