From c64d4b8f940a6dc9749ace04d948b14d3ad4a7d7 Mon Sep 17 00:00:00 2001
From: Brieuc Dubois <git@bhasher.com>
Date: Wed, 12 Mar 2025 23:22:15 +0100
Subject: [PATCH] Hot fix long questions

---
 frontend/src/lib/components/tests/languageTest.svelte | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/frontend/src/lib/components/tests/languageTest.svelte b/frontend/src/lib/components/tests/languageTest.svelte
index 6ae8a0ab..ce07ab24 100644
--- a/frontend/src/lib/components/tests/languageTest.svelte
+++ b/frontend/src/lib/components/tests/languageTest.svelte
@@ -155,8 +155,7 @@
 {:else if currentQuestion instanceof TestTaskQuestionQcm}
 	<div class="mx-auto mt-16 text-center">
 		{#if currentQuestion.type === TestTaskQuestionQcmType.text}
-			<pre
-				class="text-center font-bold py-4 px-6 m-auto max-w-5xl">{@html currentQuestion.value}</pre>
+			<p class="text-center font-bold py-4 px-6 m-auto max-w-5xl">{@html currentQuestion.value}</p>
 		{:else if currentQuestion.type === TestTaskQuestionQcmType.image}
 			<img src={currentQuestion.value} alt="Question" />
 		{:else if currentQuestion.type === TestTaskQuestionQcmType.audio}
-- 
GitLab