From 73b3cdcc8206361301eb23821fe3207e216f81c4 Mon Sep 17 00:00:00 2001 From: David Siegfried <david.siegfried@uni-vechta.de> Date: Tue, 19 Nov 2024 12:34:13 +0000 Subject: [PATCH] use formatReady in privacy-details, if needed, fixes #4882 Closes #4882 Merge request studip/studip!3656 --- app/views/privacy/index.php | 2 +- app/views/privacy/print.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/privacy/index.php b/app/views/privacy/index.php index 99a8e1d4553..36c311e49c4 100644 --- a/app/views/privacy/index.php +++ b/app/views/privacy/index.php @@ -40,7 +40,7 @@ <tr> <? foreach ($row as $key => $value): ?> <td> - <?= htmlReady($value) ?> + <?= \Studip\Markup::isHtml($value) ? formatReady($value) : htmlReady($value) ?> </td> <? endforeach; ?> </tr> diff --git a/app/views/privacy/print.php b/app/views/privacy/print.php index 46fa71c5c65..a5a2995d349 100644 --- a/app/views/privacy/print.php +++ b/app/views/privacy/print.php @@ -18,7 +18,7 @@ <? if ($tabledata['table_name'] === 'log_events' && $key === 'readable_entry') : ?> <?= $value ?> <? else: ?> - <?= htmlReady($value) ?> + <?= \Studip\Markup::isHtml($value) ? formatReady($value) : htmlReady($value) ?> <? endif; ?> </td> </tr> -- GitLab