original_string: public function get_html($nl2br=true, $htmlEntities = true)
  	{
  		$html = '';
  
  		foreach($this->children as $child)
  			$html .= $child->get_html($nl2br, $htmlEntities);
  
  		if($this instanceof Node_Container_Document)
  			return $html;
  
  		$bbcode = $this->root()->get_bbcode($this->tag);
  
  		if(is_callable($bbcode->handler()) && ($func = $bbcode->handler()) !== false)
  			return $func($html, $this->attribs, $this);
  		//return call_user_func($bbcode->handler(), $html, $this->attribs, $this);
  
  		return str_replace('%content%', $html, $bbcode->handler());
  	}
code: public function get_html($nl2br=true, $htmlEntities = true)
  	{
  		$html = '';
  
  		foreach($this->children as $child)
  			$html .= $child->get_html($nl2br, $htmlEntities);
  
  		if($this instanceof Node_Container_Document)
  			return $html;
  
  		$bbcode = $this->root()->get_bbcode($this->tag);
  
  		if(is_callable($bbcode->handler()) && ($func = $bbcode->handler()) !== false)
  			return $func($html, $this->attribs, $this);
  		//return call_user_func($bbcode->handler(), $html, $this->attribs, $this);
  
  		return str_replace('%content%', $html, $bbcode->handler());
  	}
code_tokens: public function get_html ( $ nl2br = true , $ htmlEntities = true ) { $ html = '' ; foreach ( $ this -> children as $ child ) $ html .= $ child -> get_html ( $ nl2br , $ htmlEntities ) ; if ( $ this instanceof Node_Container_Document ) return $ html ; $ bbcode = $ this -> root ( ) -> get_bbcode ( $ this -> tag ) ; if ( is_callable ( $ bbcode -> handler ( ) ) && ( $ func = $ bbcode -> handler ( ) ) !== false ) return $ func ( $ html , $ this -> attribs , $ this ) ; //return call_user_func($bbcode->handler(), $html, $this->attribs, $this); return str_replace ( '%content%' , $ html , $ bbcode -> handler ( ) ) ; }
docstring: Gets a HTML representation of this node
  @return string
docstring_tokens: Gets a HTML representation of this node