protected function _renderEscaped($tag_name, $leading, $trailing) {
		$value = $this->_renderUnescaped($tag_name, '', '');
		if (isset($this->_escape)) {
			$rendered = call_user_func($this->_escape, $value);
		} else {
			$rendered = htmlentities($value, ENT_COMPAT, $this->_charset);
		}

		return $leading . $rendered . $trailing;
	}
protected function _renderEscaped($tag_name, $leading, $trailing) {
		$value = $this->_renderUnescaped($tag_name, '', '');
		if (isset($this->_escape)) {
			$rendered = call_user_func($this->_escape, $value);
		} else {
			$rendered = htmlentities($value, ENT_COMPAT, $this->_charset);
		}

		return $leading . $rendered . $trailing;
	}
protected function _renderEscaped ( $ tag_name , $ leading , $ trailing ) { $ value = $ this -> _renderUnescaped ( $ tag_name , '' , '' ) ; if ( isset ( $ this -> _escape ) ) { $ rendered = call_user_func ( $ this -> _escape , $ value ) ; } else { $ rendered = htmlentities ( $ value , ENT_COMPAT , $ this -> _charset ) ; } return $ leading . $ rendered . $ trailing ; }
Escape and return the requested tag.

@access protected
@param string $tag_name
@param string $leading Whitespace
@param string $trailing Whitespace
@return string
Escape and return the requested tag .