diff --git a/app/views/privacy/index.php b/app/views/privacy/index.php index 99a8e1d4553b7758c36dfa0eb2d3bd13b938998a..36c311e49c463cd5ed7aea972b9eb41f47ed19c5 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 46fa71c5c650536c9d28d6a1a54f8fe207a97635..a5a2995d349bb9a5b54bcf6e37ce141c44712a40 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>