protected function _processElementEnd($parentContent, $element, $token, $elementName)
 {
     if ($this->_insideScript) {
         $this->_insideScript = false;
         $this->_filteredOutput = $this->_outputBeforeScript;
     } else {
         parent::_processElementEnd($parentContent, $element, $token, $elementName);
     }
 }
 protected function _processElementClose($parentContent, $element, $token)
 {
     if ($this->_indent == 1 && !$element->getIsMarked()) {
         if (!$element->getIsExpectingClassValue()) {
             $this->_filteredOutput .= ' class';
         }
         $this->_filteredOutput .= '="m-block mb-' . $this->getBlockName() . '"';
         $element->setIsExpectingClassValue(false)->setIsMarked(true);
     }
     parent::_processElementClose($parentContent, $element, $token);
 }