XF 2.0 Use @mentions in custom bb_code() call

S Thomas

Well-known member
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?