src/Yangqi/Htmldom/Htmldom.php
protected function as_text_node($tag)
	{
		$node = new Htmldomnode($this);
		++$this->cursor;
		$node->_[HDOM_INFO_TEXT] = '</' . $tag . '>';
		$this->link_nodes($node, false);
		$this->char = (++$this->pos<$this->size) ? $this->doc[$this->pos] : null; // next
		return true;
	}
protected function as_text_node($tag)
	{
		$node = new Htmldomnode($this);
		++$this->cursor;
		$node->_[HDOM_INFO_TEXT] = '</' . $tag . '>';
		$this->link_nodes($node, false);
		$this->char = (++$this->pos<$this->size) ? $this->doc[$this->pos] : null; // next
		return true;
	}
protected function as_text_node ( $ tag ) { $ node = new Htmldomnode ( $ this ) ; ++ $ this -> cursor ; $ node -> _ [ HDOM_INFO_TEXT ] = '</' . $ tag . '>' ; $ this -> link_nodes ( $ node , false ) ; $ this -> char = ( ++ $ this -> pos < $ this -> size ) ? $ this -> doc [ $ this -> pos ] : null ; // next return true ; }
as a text node
as a text node