*/ class HelperController extends Controller { /** * Parsed BBcode from a post request. * @return string */ public function bbcodeParse() { return BBParser::toHTML(htmlentities($_POST['text'] ?? ''), CurrentSession::$user); } }