/*Extra function to hide tags in Thread fast preview*/
if(self::$_isJson == true && self::$_viewName == 'XenForo_ViewPublic_Thread_Preview' && XenForo_Application::get('options')->get('Bbm_HideTagsInFastPreview'))
{
if(isset($controllerResponse->params['post']['message']))
{
$formatter = XenForo_BbCode_Formatter_Base::create('BBM_Protection_BbCode_Formatter_BbCode_Lupin', false);
$parser = new XenForo_BbCode_Parser($formatter);
$extraStates = array(
'bbmContentProtection' => true
);
$controllerResponse->params['post']['message'] = $parser->render($controllerResponse->params['post']['message'], $extraStates);
}
}