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