/** * Restart parsing after current block * * To achieve this the current top stack object is removed from the * tree. Then the current item * * @access protected * @return bool */ function _reparseAfterCurrentBlock() { if ($this->_status == 2) { // this status will *never* call _reparseAfterCurrentBlock itself // so this is called if the loop ends // therefore, just add the [/ to the text // _savedName should be empty but just in case $this->_cpos -= strlen($this->_savedName); $this->_savedName = ''; $this->_status = 0; $this->_appendText('[/'); return true; } else { return parent::_reparseAfterCurrentBlock(); } }