From 048c6d0465cc4ff2a6d919dea7ae947b20253461 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 12 Sep 2024 17:42:23 +0200 Subject: [PATCH] Make use of the new `unsafe:` prefix --- com.woltlab.wcf/templates/userCard.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/com.woltlab.wcf/templates/userCard.tpl b/com.woltlab.wcf/templates/userCard.tpl index 007476b1e0..ef172caaf1 100644 --- a/com.woltlab.wcf/templates/userCard.tpl +++ b/com.woltlab.wcf/templates/userCard.tpl @@ -15,7 +15,7 @@

- {@$user->getFormattedUsername()} + {unsafe:$user->getFormattedUsername()} {if $user->banned} @@ -29,10 +29,10 @@
{content} {if $user->getUserTitle()} - {$user->getUserTitle()} + {$user->getUserTitle()} {/if} {if $user->getRank() && $user->getRank()->rankImage} - {@$user->getRank()->getImage()} + {unsafe:$user->getRank()->getImage()} {/if} {/content}
@@ -47,7 +47,7 @@ {/if} {if $user->userID != $__wcf->user->userID} {if $user->isAccessible('canViewEmailAddress')} - {icon name='envelope' size=24 type='solid'} + {icon name='envelope' size=24 type='solid'} {/if} {/if} {if $__wcf->user->userID && $user->userID != $__wcf->user->userID} -- 2.20.1