Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

template doesn't accept escaped double quote in string #429

Closed
martindrapeau opened this Issue · 1 comment

2 participants

@martindrapeau

Interpolation of the following Javascript inside a template escapes the backslash breaking the code:
<%=checked?"checked=\"checked\"":""%>
You get this error:

missing : in conditional expression
... checked?"checked=\\"checked\\"":"" ... 
@jashkenas jashkenas closed this in cdf43ea
@jashkenas
Owner

Thanks for reporting this. Fixed in the above patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.