mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-08 20:25:19 +02:00
Merge pull request #575 from waychan23/feat/md_viewer_open_links_in_new_tab
[feat] Markdown viewer open links in a new tab.
This commit is contained in:
commit
bb229522dc
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ export function MarkdownViewer({ content, className }: MarkdownViewerProps) {
|
||||||
</p>
|
</p>
|
||||||
),
|
),
|
||||||
a: ({ node, children, ...props }: any) => (
|
a: ({ node, children, ...props }: any) => (
|
||||||
<a className="text-primary hover:underline" {...props}>
|
<a className="text-primary hover:underline" target="_blank" rel="noopener noreferrer" {...props}>
|
||||||
{children}
|
{children}
|
||||||
</a>
|
</a>
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue