diff options
author | Jonas Kohl | 2024-09-19 14:49:29 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-09-19 14:49:29 +0200 |
commit | 5c707597ba936b1b82ee9a1cf546e720d1a490bd (patch) | |
tree | 5b67d9a55965bd13a7a6d308413708ff753fb43b /src/application/views/view_user.php | |
parent | 624b750a613bbd22b0ceba574063a4929a1943a9 (diff) |
Small bugfixesv0.1.1
Diffstat (limited to 'src/application/views/view_user.php')
-rw-r--r-- | src/application/views/view_user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application/views/view_user.php b/src/application/views/view_user.php index 5c89411..a38096f 100644 --- a/src/application/views/view_user.php +++ b/src/application/views/view_user.php @@ -56,7 +56,7 @@ $emailPending = $isOwnProfile && $user->pendingEmail !== null; <?php if ($hasAttachments): ?> <span class="badge"><span class="glyphicon glyphicon-paperclip"></span></span> <?php endif; ?> - <?= htmlentities(StringUtils::truncate(strip_tags(renderPost($post->content)), 100)) ?><br> + <?= htmlentities(html_entity_decode(StringUtils::truncate(strip_tags(renderPost($post->content)), 100))) ?><br> <span class="text-muted"><?= __("posted on %post_date% in %topic%", [ "post_date" => '<span class="_time">' . htmlentities($post->postDate->format("c")) . '</span>', "topic" => '<em>' . |