Skip to content

Commit cdf9171

Browse files
committed
fixup! fix(NcRichText)!: render all non-resolved links as external
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
1 parent b9c81c0 commit cdf9171

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/components/NcRichText/NcRichText.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,8 @@ export default {
639639
to: route,
640640
}, { default: () => children })
641641
} else {
642-
return h(NcRichTextExternalLink, { ...props, noExtDecoration: true }, children)
642+
props.href = props.href.trim()
643+
return h(NcRichTextExternalLink, props, children)
643644
}
644645
}
645646
return h(type, props, children)

0 commit comments

Comments
 (0)