Prevent rendering of unmatched mentions
authorAlexander Ebert <ebert@woltlab.com>
Wed, 30 Jan 2019 16:56:33 +0000 (17:56 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 30 Jan 2019 16:56:33 +0000 (17:56 +0100)
com.woltlab.wcf/templates/userBBCodeTag.tpl

index 7cd4355def5096142ae282b60790a38e770f8b20..e983c7833cbad95632d5f1706401fe0c57a188ab 100644 (file)
@@ -1,6 +1,6 @@
 {if $userProfile === null}
        {* user no longer exists, use plain output rather than using a broken link *}
-       <span class="userMention">{$username}</span>
+       @{$username}
 {else}
        <a href="{link controller='User' object=$userProfile->getDecoratedObject()}{/link}" class="userMention userLink" data-user-id="{@$userProfile->userID}">{$userProfile->username}</a>
 {/if}