/** * Process * * @return boolean false if the process is aborted * @access public */ function process() { parent::process(); if ($this->getAttribute('adm:htmlEditor') !== true) { //$tagContent = strip_tags($this->getText()); $tagContent = $this->getText(); $this->setText($tagContent); } else { $tagContent = trim($this->getText()); $tagContent = str_replace(array("\r\n", "\n", "\r"), "", $tagContent); $this->setText($tagContent); } }