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

Lambda sections are not executed #16

Open
teomat opened this issue Jul 24, 2011 · 1 comment
Open

Lambda sections are not executed #16

teomat opened this issue Jul 24, 2011 · 1 comment

Comments

@teomat
Copy link

teomat commented Jul 24, 2011

According to the mustache manual, when using a function/method as the value of a section it should be called when rendering the template.
There are functions related to this in the code, but they are not called and I can't figure out what I'd have to change to get this to work.

@drbawb
Copy link

drbawb commented Aug 17, 2012

I know this is old, but I'd really like to see this as well so I can implement filters.

EDIT OF THE EDIT: I have submitted a pull request.

You can try using my fork and report issues with it, but I believe it parses lambda's to spec.
https://github.com/drbawb/mustache

I've submitted a pull request, but I'd really appreciate some feedback as I've never hacked on a parsing library before.

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

No branches or pull requests

2 participants