RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Fix: Issue with Markdown Code Blocks Breaking Frontend Layout #5789 (#6758)
balibabu724a36fcdbe7
diff --git a/web/src/pages/chat/markdown-content/index.tsx b/web/src/pages/chat/markdown-content/index.tsxindex 0a83fb97df..d1c6c6af6c 100644--- a/web/src/pages/chat/markdown-content/index.tsx+++ b/web/src/pages/chat/markdown-content/index.tsx@@ -201,11 +201,16 @@ const MarkdownContent = ({const { children, className, node, ...rest } = props;const match = /language-(\w+)/.exec(className || '');return match ? (- <SyntaxHighlighter {...rest} PreTag="div" language={match[1]}>+ <SyntaxHighlighter+ {...rest}+ PreTag="div"+ language={match[1]}+ wrapLongLines+ >{String(children).replace(/\n$/, '')}</SyntaxHighlighter>) : (- <code {...rest} className={className}>+ <code {...rest} className={classNames(className, 'text-wrap')}>{children}</code>);