Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Preserve line breaks

Vasek Mlejnsky07a81f3302a7
diff --git a/components/Editor/Logs.tsx b/components/Editor/Logs.tsx
index 1725966c5..cd17f08cd 100644
--- a/components/Editor/Logs.tsx
+++ b/components/Editor/Logs.tsx
@@ -54,7 +54,7 @@ function Logs({
">
{logs?.map((l, i) =>
<Fragment key={i}>
- <ReactMarkdown>{l}</ReactMarkdown>
+ <ReactMarkdown className="whitespace-pre">{l}</ReactMarkdown>
{/* <Ansi>
{l}
</Ansi> */}