• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 2.0 Use @mentions in custom bb_code() call

In profile_post_macros, I've added an additional {{ bb_code($profilePost.message, 'post', 0) }}. All BBCodes get rendered with the exception of mentions ("@ user").
It looks like bb_code() fires a call to \XF\Str\MentionFormatter\getMentionsStructuredText() instead of getMentionsBbCode(), but why? How can I force bb_code to use the other method?