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

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

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