* Fixed bug regarding <%call>/def calls w/ content whereby the identity
of the "caller" callable inside the <%def> would be corrupted by the
presence of another <%call> in the same block. [ticket:170]
* Fixed the babel plugin to accommodate <%block> [ticket:169]
- Simpler spec file
- Update to 0.3.4
- Now using MarkupSafe for HTML escaping,
i.e. in place of cgi.escape(). Faster
C-based implementation and also escapes
single quotes for additional security.
Supports the __html__ attribute for
the given expression as well.
When using "disable_unicode" mode,
a pure Python HTML escaper function
is used which also quotes single quotes.
Note that Pylons by default doesn't
use Mako's filter - check your
environment.py file.
- Fixed call to "unicode.strip" in
exceptions.text_error_template which
is not Py3k compatible. [ticket:137]
- Update to 0.2.5
- Added a "decorator" kw argument to <%def>, allows custom decoration
functions to wrap rendering callables. Mainly intended for custom caching
algorithms, not sure what other uses there may be (but there may be).
Examples are in the "filtering" docs.
- When Mako creates subdirectories in which to store templates, it uses the
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=1