fix(notes): rendered links open in new tab
This commit is contained in:
parent
32f14dfaef
commit
f73a4277b3
@ -29,7 +29,7 @@ export const NoteRender = ({ content }: NoteRenderProps) => {
|
||||
if (link.test(part)) {
|
||||
const [href] = part.match(link) || []
|
||||
return (
|
||||
<a key={index} href={href}>
|
||||
<a key={index} target='_blank' href={href}>
|
||||
{href}
|
||||
</a>
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user