From 35b0bd76f82b16ed4f598193e68bb7a3279a70da Mon Sep 17 00:00:00 2001 From: Algorithm5838 <108630393+Algorithm5838@users.noreply.github.com> Date: Fri, 18 Aug 2023 08:12:27 +0300 Subject: [PATCH] Update markdown.tsx --- app/components/markdown.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/markdown.tsx b/app/components/markdown.tsx index 4a84969c5..e7a35b802 100644 --- a/app/components/markdown.tsx +++ b/app/components/markdown.tsx @@ -115,6 +115,7 @@ function _MarkDownContent(props: { content: string }) { ]} components={{ pre: PreCode, + p: (pProps) =>

, a: (aProps) => { const href = aProps.href || ""; const isInternal = /^\/#/i.test(href); @@ -150,7 +151,6 @@ export function Markdown( ref={mdRef} onContextMenu={props.onContextMenu} onDoubleClickCapture={props.onDoubleClickCapture} - dir="auto" > {props.loading ? (