protected function _flushBufferedEndTag(SegmentedString $source) { $source->advance(); if ($this->_Token->getType() === HTMLToken::Character) { return true; } $this->_Token->beginEndTag($this->_bufferedEndTagName); $this->_bufferedEndTagName = ''; $this->_appropriateEndTagName = ''; $this->_temporaryBuffer = ''; return false; }