function outertext() { if ($this->tag === HDOM_ROOT_PSEUDOTAG) { return $this->innertext(); } return parent::outertext(); }