diff --git a/src/components/TestcaseValidationAccordion.tsx b/src/components/TestcaseValidationAccordion.tsx index 9daa576..26d5d51 100644 --- a/src/components/TestcaseValidationAccordion.tsx +++ b/src/components/TestcaseValidationAccordion.tsx @@ -94,7 +94,7 @@ const TestcaseValidationInstance = ({
-
+
@@ -115,7 +115,7 @@ const TestcaseValidationInstance = ({ } />
-
+
diff --git a/src/components/Textareas/RuntimeOutputTextarea.tsx b/src/components/Textareas/RuntimeOutputTextarea.tsx index 0dd7daf..963d767 100644 --- a/src/components/Textareas/RuntimeOutputTextarea.tsx +++ b/src/components/Textareas/RuntimeOutputTextarea.tsx @@ -27,15 +27,16 @@ const RuntimeOutputTextarea = ({ } if (char === "\n") { - return \n; + return ( + <> + \n +
+ + ); } else if (char === "\r") { return \r; } else { - return ( - - {char} - - ); + return {char}; } }); }, [value, compareValue]);