authorgravatar for danyayudin2012@gmail.comDanila Yudin <danyayudin2012@gmail.com> 2026-03-28 21:59:56+03:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-03-28 11:59:56-07:00
log73b2f255a9c81f1efaa4133bee581d071abe6841
tree29430094824ae5329f3c5d13986f50f78cc6d4c7
parentce463a5360ab4a2426d9744d830266d3ef7f4410
signature Signed by PGP key B5690EEEBB952194

fix: add noopener to external chat markdown links (#1315)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

1 files changed, 1 insertions(+), 1 deletions(-)

apps/web/src/components/ChatMarkdown.tsx+1-1
......@@ -243,7 +243,7 @@ function ChatMarkdown({ text, cwd, isStreaming = false }: ChatMarkdownProps) {
243243 a({ node: _node, href, ...props }) {
244244 const targetPath = resolveMarkdownFileLinkTarget(href, cwd);
245245 if (!targetPath) {
246 return <a {...props} href={href} target="_blank" rel="noreferrer" />;
246 return <a {...props} href={href} target="_blank" rel="noopener noreferrer" />;
247247 }
248248
249249 return (