diff --git a/src/components/Exercises/MultipleChoice.tsx b/src/components/Exercises/MultipleChoice.tsx index f14403ef..72516c98 100644 --- a/src/components/Exercises/MultipleChoice.tsx +++ b/src/components/Exercises/MultipleChoice.tsx @@ -52,8 +52,8 @@ function Question({ return (
- {prompt} -
+ {prompt} +
{variant === "image" && options.map((option) => (
-
- {prompt} +
+ {prompt} {questionIndex < questions.length && ( { @@ -44,26 +45,33 @@ export default function FillBlanksSolutions({prompt, solutions, text, userSoluti return ( <> -
- {prompt} +
+ + {prompt.split("\\n").map((line, index) => ( + + {line} +
+
+ ))} +
- {text.split("\\n").map((line) => ( - <> + {text.split("\\n").map((line, index) => ( + {renderLines(line)}
- +
))}
-
+
- - -