Performance tweak for bbcode rendering.

Avoid calling XenForo_Application::get in a loop