I’m having an issue with v2.1.1 build 20101020.
elseif statements seem to eat line feeds from the HTML output, which makes my markup look very untidy unnecessarily.
if:elseif Example:
line one
line two{if segment_1=="visitors"}
tabbed line{/if}
another tabbed line
last line...will display (at /visitors):
line one
line two
tabbed line
another tabbed line
last line... as expected, right? However when I include an elseif:
line one
line two{if segment_1=="visitors"}
tabbed line{if:elseif segment_1=="anything"}{/if}
another tabbed line
last line... will output:
line one
line two tabbed line another tabbed line
last line... which makes no sense to me. Bug? Or am I just doing something wrong?