Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delimiter escaping broken #232

Closed
natevw opened this issue May 1, 2012 · 2 comments
Closed

Delimiter escaping broken #232

natevw opened this issue May 1, 2012 · 2 comments
Labels

Comments

@natevw
Copy link

natevw commented May 1, 2012

Issue #146 added the ability to escape delimiters to pass on to e.g. client side templating engines, but as @reedlaw and @shtylman tried to point out in the comments, it's very broken. My guess is that it's only properly applying to every other tag in the input, but YMMV.

Input:
"{{var1}} in the {{var2}}"

Expected output:
"{{var1}} in the {{var2}}"

Actual output:
"{{var1}} in the "

@jeremyosborne
Copy link

I just tried this on a larger template that I was attempting to use to produce another template, just to see if the version I'm using has this problem. It does, and it appears to be an "every other" problem as the note above says.

@wycats
Copy link
Collaborator

wycats commented Sep 13, 2012

Fixed in 5a6e4f1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants