Update packages/core-components/src/components/MarkdownContent/MarkdownContent.tsx

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2026-03-31 17:54:39 +02:00
committed by GitHub
parent 0449cf02fd
commit f46363130c
@@ -113,7 +113,12 @@ const components: Options['components'] = {
a: ({ href, children, title, target, rel }) =>
href ? (
<Link to={href} title={title} ...(target ? { target } : {}) ...(rel ? { rel } : {})>
<Link
to={href}
title={title}
{...(target ? { target } : {})}
{...(rel ? { rel } : {})}
>
{children}
</Link>
) : (