Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

📖 feat: Word Wrapping for Text and Markdown Code Blocks (#10055)

François Leblancd990fe1d5f6d
diff --git a/client/src/style.css b/client/src/style.css
index 5f3b2df311..1a3747c80c 100644
--- a/client/src/style.css
+++ b/client/src/style.css
@@ -1243,8 +1243,12 @@ pre {
Ubuntu Mono,
monospace !important;
}
-code[class='language-plaintext'] {
- white-space: pre-line;
+code.language-text,
+code.language-txt,
+code.language-plaintext,
+code.language-markdown,
+code.language-md {
+ white-space: pre-wrap !important;
}
code.hljs,
code[class*='language-'],