mitsuhiko/jinja2 — pull request #138 by gazpachoking (2012-07-05 19:58:14+00:00)
Title: Prevent default filter from throwing UndefinedError

The default filter currently throws an UndefinedError when environment is using StrictUndefined mode and using the boolean flag for default filter. example:
{{ something|default(somethingelse, true) }}
Will throw an UndefinedError when 'something' is undefined.
This pull request fixes that and adds a unit test exemplifying the problem.