protected function handleTag_tr() { if ($this->parser->isStartTag) { $this->col = -1; } else { $this->row++; } }