From: Alexander Ebert Date: Wed, 30 Jan 2019 16:56:33 +0000 (+0100) Subject: Prevent rendering of unmatched mentions X-Git-Tag: 5.2.0_Alpha_1~330 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c6b80bf06fce68ab6eb73678e4903de54ba0c846;p=GitHub%2FWoltLab%2FWCF.git Prevent rendering of unmatched mentions --- diff --git a/com.woltlab.wcf/templates/userBBCodeTag.tpl b/com.woltlab.wcf/templates/userBBCodeTag.tpl index 7cd4355def..e983c7833c 100644 --- a/com.woltlab.wcf/templates/userBBCodeTag.tpl +++ b/com.woltlab.wcf/templates/userBBCodeTag.tpl @@ -1,6 +1,6 @@ {if $userProfile === null} {* user no longer exists, use plain output rather than using a broken link *} - {$username} + @{$username} {else} {$userProfile->username} {/if}