/** * Applies action * * @return boolean success */ protected function main() { include 'HTML/BBCodeParser.php'; $mytext = Nexista_Flow::getByPath($this->params['text']); $name = $this->params['name']; $parser = new HTML_BBCodeParser(); $parser->addFilters('Basic,Extended,Links,Images,Lists'); $new_text = $parser->qParse($mytext); Nexista_Flow::add($name, $new_text); return true; }