| ... | @@ -243,7 +243,7 @@ function ChatMarkdown({ text, cwd, isStreaming = false }: ChatMarkdownProps) { | ... | @@ -243,7 +243,7 @@ function ChatMarkdown({ text, cwd, isStreaming = false }: ChatMarkdownProps) { |
| 243 | a({ node: _node, href, ...props }) { | 243 | a({ node: _node, href, ...props }) { |
| 244 | const targetPath = resolveMarkdownFileLinkTarget(href, cwd); | 244 | const targetPath = resolveMarkdownFileLinkTarget(href, cwd); |
| 245 | if (!targetPath) { | 245 | if (!targetPath) { |
| 246 | return <a {...props} href={href} target="_blank" rel="noreferrer" />; | 246 | return <a {...props} href={href} target="_blank" rel="noopener noreferrer" />; |
| 247 | } | 247 | } |
| 248 | | 248 | |
| 249 | return ( | 249 | return ( |