The best way to control Claude Code, Codex and more from any computer or phone
fix: add noopener to external chat markdown links (#1315)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Danila Yudin committed
Mar 28, 2026 at 21:59 UTC
73b2f255a9c81f1efaa4133bee581d071abe6841
1 file changed
+1
-1
apps/web/src/components/ChatMarkdown.tsx
+1
-1
@@ -243,7 +243,7 @@ function ChatMarkdown({ text, cwd, isStreaming = false }: ChatMarkdownProps) {
243
a({ node: _node, href, ...props }) {
244
const targetPath = resolveMarkdownFileLinkTarget(href, cwd);
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
}
248
249
return (