From e78df0e7f040b9409b1dbd4b4bef2e84815b7741 Mon Sep 17 00:00:00 2001
From: Moritz Strohm <strohm@data-quest.de>
Date: Thu, 21 Mar 2024 14:24:32 +0000
Subject: [PATCH] calendar/date/index: use formatReady instead of htmlReady for
 the description, fixes #3861

Closes #3861

Merge request studip/studip!2728


(cherry picked from commit c4c3cfb37de3de91590f1eb8bcc763cc847bc2be)

8c6a5fce calendar/date/index: use formatReady instead of htmlReady for the description
---
 app/views/calendar/date/index.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/views/calendar/date/index.php b/app/views/calendar/date/index.php
index 26f28a628b0..a10058bd1ee 100644
--- a/app/views/calendar/date/index.php
+++ b/app/views/calendar/date/index.php
@@ -46,7 +46,7 @@
 <? if ($date->description) : ?>
     <article class="studip">
         <header><h1><?= _('Beschreibung') ?></h1></header>
-        <section><?= htmlReady($date->description) ?></section>
+        <section><?= formatReady($date->description) ?></section>
     </article>
 <? endif ?>
 <article class="studip">
-- 
GitLab