Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
fix(markdown): force code blocks LTR in RTL language context (#8350)
Akarshan Biswasc8e48fff35ed
diff --git a/web-app/src/components/ai-elements/code-block.tsx b/web-app/src/components/ai-elements/code-block.tsxindex d65d931b2..586b373f7 100644--- a/web-app/src/components/ai-elements/code-block.tsx+++ b/web-app/src/components/ai-elements/code-block.tsx@@ -100,6 +100,7 @@ export const CodeBlock = ({return (<CodeBlockContext.Provider value={{ code }}><div+ dir="ltr"className={cn("group relative w-full overflow-hidden bg-background text-foreground",className,