original_string: public static function to_string( \DOMDocument $dom ) {
  		$html5 = new HTML5();
  		preg_match( '/<body>(.*)<\/body>/s', $html5->saveHTML( $dom ), $match );
  
  		return $match[1];
  	}
code: public static function to_string( \DOMDocument $dom ) {
  		$html5 = new HTML5();
  		preg_match( '/<body>(.*)<\/body>/s', $html5->saveHTML( $dom ), $match );
  
  		return $match[1];
  	}
code_tokens: public static function to_string ( \ DOMDocument $ dom ) { $ html5 = new HTML5 ( ) ; preg_match ( '/<body>(.*)<\/body>/s' , $ html5 -> saveHTML ( $ dom ) , $ match ) ; return $ match [ 1 ] ; }
docstring: Return body as string
  
  @param \DOMDocument $dom
  
  @return mixed
docstring_tokens: Return body as string