From 3dbc1b3141ae60802d26ade5a19f920d60bde77b Mon Sep 17 00:00:00 2001
From: daxid <david.rouquet@tetras-libre.fr>
Date: Tue, 19 Nov 2024 14:59:07 +0100
Subject: [PATCH] =?UTF-8?q?Modification=20de=20propri=C3=A9t=C3=A9s=20pour?=
 =?UTF-8?q?=20leur=20version=20=5Fmd?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 tetras_extraction/script/templates/qcu.rq  | 2 +-
 tetras_extraction/script/templates/quiz.rq | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tetras_extraction/script/templates/qcu.rq b/tetras_extraction/script/templates/qcu.rq
index e55e895f..c6fa414e 100644
--- a/tetras_extraction/script/templates/qcu.rq
+++ b/tetras_extraction/script/templates/qcu.rq
@@ -31,7 +31,7 @@ where {
     optional {
         ?qcu :aReponse ?choice .
         ?choice :index ?choice_index .
-        ?choice :html ?choice_html
+        ?choice :html_md ?choice_html
     }
     optional {
         ?qcu :aReponse ?correct_choice .
diff --git a/tetras_extraction/script/templates/quiz.rq b/tetras_extraction/script/templates/quiz.rq
index 95f4af23..76b5aba7 100644
--- a/tetras_extraction/script/templates/quiz.rq
+++ b/tetras_extraction/script/templates/quiz.rq
@@ -39,10 +39,10 @@ where {
     ?quiz a :Exercice .
     ?quiz :id ?id .
     optional {
-        ?quiz :commentaireSucces ?correct_comment .
+        ?quiz :commentaireSucces_md ?correct_comment .
     }
     optional {
-        ?quiz :commentaireSugg ?incorrect_comment .
+        ?quiz :commentaireSugg_md ?incorrect_comment .
     }
 }
 # FIXME: some exercises have multiple incorrect comments, almost identical,
-- 
GitLab