protected function _renderTag($modifier, $tag_name, $leading, $trailing) {
		switch ($modifier) {
			case '=':
				return $this->_changeDelimiter($tag_name, $leading, $trailing);
				break;
			case '!':
				return $this->_renderComment($tag_name, $leading, $trailing);
				break;
			case '>':
			case '<':
				return $this->_renderPartial($tag_name, $leading, $trailing);
				break;
			case '{':
				// strip the trailing } ...
				if ($tag_name[(strlen($tag_name) - 1)] == '}') {
					$tag_name = substr($tag_name, 0, -1);
				}
			case '&':
				if ($this->_hasPragma(self::PRAGMA_UNESCAPED)) {
					return $this->_renderEscaped($tag_name, $leading, $trailing);
				} else {
					return $this->_renderUnescaped($tag_name, $leading, $trailing);
				}
				break;
			case '#':
			case '^':
            case "*":
                return $leading . $this->server->siteUrl($tag_name) . $trailing;
                break;
			case '/':
				// remove any leftover section tags
				return $leading . $trailing;
				break;
			default:
				if ($this->_hasPragma(self::PRAGMA_UNESCAPED)) {
					return $this->_renderUnescaped($modifier . $tag_name, $leading, $trailing);
				} else {
					return $this->_renderEscaped($modifier . $tag_name, $leading, $trailing);
				}
				break;
		}
	}
protected function _renderTag($modifier, $tag_name, $leading, $trailing) {
		switch ($modifier) {
			case '=':
				return $this->_changeDelimiter($tag_name, $leading, $trailing);
				break;
			case '!':
				return $this->_renderComment($tag_name, $leading, $trailing);
				break;
			case '>':
			case '<':
				return $this->_renderPartial($tag_name, $leading, $trailing);
				break;
			case '{':
				// strip the trailing } ...
				if ($tag_name[(strlen($tag_name) - 1)] == '}') {
					$tag_name = substr($tag_name, 0, -1);
				}
			case '&':
				if ($this->_hasPragma(self::PRAGMA_UNESCAPED)) {
					return $this->_renderEscaped($tag_name, $leading, $trailing);
				} else {
					return $this->_renderUnescaped($tag_name, $leading, $trailing);
				}
				break;
			case '#':
			case '^':
            case "*":
                return $leading . $this->server->siteUrl($tag_name) . $trailing;
                break;
			case '/':
				// remove any leftover section tags
				return $leading . $trailing;
				break;
			default:
				if ($this->_hasPragma(self::PRAGMA_UNESCAPED)) {
					return $this->_renderUnescaped($modifier . $tag_name, $leading, $trailing);
				} else {
					return $this->_renderEscaped($modifier . $tag_name, $leading, $trailing);
				}
				break;
		}
	}
protected function _renderTag ( $ modifier , $ tag_name , $ leading , $ trailing ) { switch ( $ modifier ) { case '=' : return $ this -> _changeDelimiter ( $ tag_name , $ leading , $ trailing ) ; break ; case '!' : return $ this -> _renderComment ( $ tag_name , $ leading , $ trailing ) ; break ; case '>' : case '<' : return $ this -> _renderPartial ( $ tag_name , $ leading , $ trailing ) ; break ; case '{' : // strip the trailing } ... if ( $ tag_name [ ( strlen ( $ tag_name ) - 1 ) ] == '}' ) { $ tag_name = substr ( $ tag_name , 0 , - 1 ) ; } case '&' : if ( $ this -> _hasPragma ( self :: PRAGMA_UNESCAPED ) ) { return $ this -> _renderEscaped ( $ tag_name , $ leading , $ trailing ) ; } else { return $ this -> _renderUnescaped ( $ tag_name , $ leading , $ trailing ) ; } break ; case '#' : case '^' : case "*" : return $ leading . $ this -> server -> siteUrl ( $ tag_name ) . $ trailing ; break ; case '/' : // remove any leftover section tags return $ leading . $ trailing ; break ; default : if ( $ this -> _hasPragma ( self :: PRAGMA_UNESCAPED ) ) { return $ this -> _renderUnescaped ( $ modifier . $ tag_name , $ leading , $ trailing ) ; } else { return $ this -> _renderEscaped ( $ modifier . $ tag_name , $ leading , $ trailing ) ; } break ; } }
Render the named tag, given the specified modifier.

Accepted modifiers are `=` (change delimiter), `!` (comment), `>` (partial)
`{` or `&` (don't escape output), or none (render escaped output).

@access protected
@param string $modifier
@param string $tag_name
@param string $leading Whitespace
@param string $trailing Whitespace
@throws MustacheException Unmatched section tag encountered.
@return string
Render the named tag given the specified modifier .