replace line breaks with br
parent
35958308d9
commit
15e5052dbc
|
@ -216,7 +216,11 @@ export default function LogCard({
|
|||
|
||||
style = { padding: "1px", color };
|
||||
|
||||
return <span style={style}>{log}</span>;
|
||||
return (
|
||||
<span style={style}>
|
||||
{log.replace(/(?:\r\n|\r|\n)/g, "<br>")}
|
||||
</span>
|
||||
);
|
||||
}}
|
||||
followOutput={true}
|
||||
/>
|
||||
|
|
Loading…
Reference in New Issue