protected function _processText($parentElement, $content, $token) { if (trim($token['full_text']) != '') { if ($this->_insideScript) { $this->_extractedScripts .= $token['full_text'] . ";\n"; } else { parent::_processText($parentElement, $content, $token); } } }
protected function _processText($parentElement, $content, $token) { if (trim($token['full_text']) !== '') { if ($this->_indent == 0) { $this->_filteredOutput .= '<span class="m-block mb-' . $this->getBlockName() . '">'; } parent::_processText($parentElement, $content, $token); if ($this->_indent == 0) { $this->_filteredOutput .= '</span>'; } } }