RemexHtml/TreeBuilder/TreeBuilder.php
public function adjustedCurrentNode() {
		$current = $this->stack->current;
		if ( $this->isFragment && ( !$current || $current->stackIndex === 0 ) ) {
			return $this->fragmentContext;
		} else {
			return $current;
		}
	}
public function adjustedCurrentNode() {
		$current = $this->stack->current;
		if ( $this->isFragment && ( !$current || $current->stackIndex === 0 ) ) {
			return $this->fragmentContext;
		} else {
			return $current;
		}
	}
public function adjustedCurrentNode ( ) { $ current = $ this -> stack -> current ; if ( $ this -> isFragment && ( ! $ current || $ current -> stackIndex === 0 ) ) { return $ this -> fragmentContext ; } else { return $ current ; } }
Get the adjusted current node
@return Element|null
Get the adjusted current node