diff --git a/app/components/markdown.tsx b/app/components/markdown.tsx index e2a156a..4a84969 100644 --- a/app/components/markdown.tsx +++ b/app/components/markdown.tsx @@ -146,11 +146,11 @@ export function Markdown( className="markdown-body" style={{ fontSize: `${props.fontSize ?? 14}px`, - direction: /^[\u0600-\u06FF]/.test(props.content) ? "rtl" : "ltr", }} ref={mdRef} onContextMenu={props.onContextMenu} onDoubleClickCapture={props.onDoubleClickCapture} + dir="auto" > {props.loading ? (