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());
	}