Resolve bug, {$variable} and ternary syntax in same line. (ex) href="{$href}" class="{$v1==$v2?'active':''}">)
Reolsve bug, need to unclose {/if} bug
Removed echo for ternary operator variable (fix) and added example
Merge remote-tracking branch 'raintpl3/master'