Resolve bug, {$variable} and ternary syntax in same line. (ex) href="{$href}" class="{$v1==$v2?'active':''}">)