Skip to content

Instantly share code, notes, and snippets.

@daohoangson
Forked from anonymous/Post.php
Last active December 19, 2015 21:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daohoangson/6020378 to your computer and use it in GitHub Desktop.
Save daohoangson/6020378 to your computer and use it in GitHub Desktop.
public function renderHtml()
{
$bbCodeParser = XenForo_BbCode_Parser::create(XenForo_BbCode_Formatter_Base::create('Base', array('view' => $this)));
$this->_params['profilePost']['messageHtml'] = XenForo_ViewPublic_Helper_Message::getBbCodeWrapper($this->_params['profilePost'], $bbCodeParser, array());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment