mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-07-05 22:03:54 +02:00
Les questions et réponses ont maintenant de vrais retours à la ligne
This commit is contained in:
@ -97,8 +97,7 @@ if (false) {
|
||||
continue;
|
||||
?>
|
||||
<div class="alert alert-info">
|
||||
<strong>Question <?= $question->getNumber() ?>
|
||||
:</strong> <?= $question->getQuestion() ?>
|
||||
<strong>Question <?= $question->getNumber() ?> :</strong> <?= preg_replace("#\n#", "<br />\n", $question->getQuestion()) ?>
|
||||
<br/>
|
||||
<?php
|
||||
if ($question->getAttachedFile() !== null) { ?>
|
||||
@ -107,7 +106,7 @@ if (false) {
|
||||
<br/>
|
||||
<?php } ?>
|
||||
<?php if (Phase::getCurrentPhase() >= Phase::PHASE4) { ?>
|
||||
<strong>Réponse :</strong> <?= $question->getAnswer() ?><br/>
|
||||
<strong>Réponse :</strong> <?= preg_replace("#\n#", "<br />\n", $question->getAnswer()) ?><br/>
|
||||
<?php
|
||||
if ($question->getAttachedFile() !== null) { ?>
|
||||
<em>Pièce jointe attachée :</em>
|
||||
|
Reference in New Issue
Block a user