protected function flush($endPositionInBlob)
{
$endTagLen = $this->shortClosedTagNow ? 0 : strlen("</" . $this->options["uniqueNode"] . ">");
$realEndPosition = $endPositionInBlob + $endTagLen;
$this->flushed = substr($this->workingBlob, $this->startPos, $realEndPosition - $this->startPos);
$this->workingBlob = substr($this->workingBlob, $realEndPosition);
$this->hasSearchedUntilPos = 0;
$this->shortClosedTagNow = false;
}