diff options
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 c95b557..e7c9753 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="fa fa-paperclip"></span></span> <?php endif; ?> - <?= htmlentities(html_entity_decode(StringUtils::truncate(strip_tags(renderPost($post->content)), 100))) ?><br> + <?= renderPostSummary($post->content) ?><br> <span class="text-muted"><?= __("posted on %post_date% in %topic%", [ "post_date" => '<span class="_time">' . htmlentities($post->postDate->format("c")) . '</span>', "topic" => '<em>' . |