Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Output finalize function issue #63

Open
tzzt opened this Issue · 2 comments

3 participants

tzzt Josh Turmel Josh Austin
tzzt

The finalize function seems to be executed on the whole template, not only on variables.

E.g. a function like
def fin(s): print s; return s
dumps the whole template file.

Josh Turmel

Any input on this, we're running into the same thing?

We like to look at the variable expressions and modify them based on different criteria but returning the entire template makes this impossible.

Josh Austin

I'm seeing this too. It seems like finalize should run only on expressions evaluated during render, but it runs when the template is constructed also.

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.