fix(notes): rendered links open in new tab

This commit is contained in:
en 2025-02-19 19:24:23 +01:00
parent 32f14dfaef
commit f73a4277b3

View File

@ -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>
)