Ternary expression breaks template

Currently javascript expression (like ternary) used inside of macro breaks the template `<%= data.foo? "foo" : "bar"%>`