Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

fix: disable link open with dialog confirmation

Faisal Amire5c6a7b56941
diff --git a/web-app/src/containers/RenderMarkdown.tsx b/web-app/src/containers/RenderMarkdown.tsx
index b1e43323c..472d3e137 100644
--- a/web-app/src/containers/RenderMarkdown.tsx
+++ b/web-app/src/containers/RenderMarkdown.tsx
@@ -102,6 +102,9 @@ function RenderMarkdownComponent({
<Streamdown
animate={true}
animationDuration={500}
+ linkSafety={{
+ enabled: false,
+ }}
className={cn(
'size-full [&>*:first-child]:mt-0 [&>*:last-child]:mb-0',
className